[16] Results

Golang : Proper way to set function argument default value

golang function-argument default-values function-parameters

In PHP, it is easy to specify the default values of a function arguments. All you need to do is….... read more

Golang : Function as an argument type example

golang function-argument passing-values-by-parameters

When we need to invoke another function inside a.... let's say outer function, the typical way to do this is….... read more

Golang : How to deal with configuration data?

golang configuration parameters

A friend ask what are the ways to deal with configuration data in Golang. Couple of ways that I can….... read more

Golang : On lambda, anonymous, inline functions and function literals

golang lambda anonymous inline-function function-literals

This is just a note for myself and maybe it can be useful to you too. In Golang, lambda, anonymous….... read more

JQuery : Calling a function inside Jquery(document) block

javascript jquery global-function window

Problem :

Saw this error message in the browser's console while attempting to call a function inside JQuery(document) section resulted….... read more

Golang : Return multiple values from function

golang return-multiple-values function

One of the features that I like about Golang is the ability to return multiple values from a function (Python….... read more

Golang : Valued expressions and functions example

golang valued-expression-function fmt

Writing this simple example down here as a reminder for myself on how to use valued expressions in Golang. Nothing….... read more

Golang : Read data from config file and assign to variables

golang read-file configuration parameters

Usually a large program will need multiple parameters to function properly and the parameters will determine the behavior of the….... read more