[17] Results

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 : 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 : 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 : 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 : Post data with url.Values{}

golang url-values post-data add-header

Just a short example on how to use url.Values{}. This code fragment is taken from previous tutorial on….... read more


Golang : Reverse by word

golang reverse by-word

This tutorial will show you how to reverse the order of words in a string. Reversing the words or elements….... 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


Linux/MacOSX : Search and delete files by extension

linux mac-os-x delete-file by-extension

Continuing from previous tutorial on how to search for files by extension with find command. For this post,….... read more


Advertisement