[15] Results

Golang : Add build version and other information in executables

golang ldflags add-build-information runtime executable binary


You want to add version and other information such as compilation time into your executables(binaries) and display the information….... read more

JavaScript: Add marker function on Google Map

javascript add-marker google-map

Problem :

You want to create add marker Javascript function to put markers on Google Map canvas. How to do….... read more

Golang : Get expvar(export variables) to work with multiplexer

golang expvar debug-information multiplexer

Golang has the expvar package that allows your web application to display debugging information during run time. Basically,….... read more

Golang : Display packages names during compilation

golang go-build go-install verbose-mode

Problem :

You need to identify the packages that a Golang program need or perhaps you just want to list….... read more

Golang : Append and add item in slice

golang slice array append add-element

Problem :

You need to append/add new element into a existing slice. How to do that?

Solution :

Use the….... 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 : Print how to use flag for your application example

golang flag-nflag prompt-usage-information

Just a short tutorial on how to usage flag package to check for the number of flag arguments require by….... read more

Golang : Get S3 or CloudFront object or file information

golang s3 cloudfront etag header-informationmetadata

Here is a simple example on how to get the S3, CloudFront object (in fact, any file accessible from URL)….... read more