[20] Results

Apt-get to install and uninstall Golang

golang install uninstall apt-get

For this short tutorial, we will learn how to install, uninstall Golang with apt-get. We will also explore an interesting….... read more

PHP : Fix Call to undefined function curl_init() error

php curl undefined yum apt-get init-error


Some PHP libraries or packages depend on your server having curl program installed. Missing curl or the PHP to….... read more

Golang : http.Get example

golang http get

Grabbing content in raw HTML format is useful for crawling or parsing purpose. This short tutorial demonstrates how easy it….... read more

Golang : Get sub string example

golang get-sub-string

Getting sub string is a common task in extracting details from a larger set of information. Here is a quick….... read more

Golang : Measure http.Get() execution time

golang measure-get-time http-get

There are times where you need to measure how long a http.Get() response time takes for debugging reason or network….... read more

Golang : Get current time

golang get-current-time

Problem : Need to get current time stamp in Go and display in string. Solution : Use the time.Local() and time.Format() functions. getcurrenttime.go package main….... read more

Golang : All update packages with go get command

golang go-get update packages

Problem :

Some of the third party packages that your Golang application use have now been superseded by better version.….... read more

Golang : Unmarshal JSON from http response

golang http get json unmarshal

For this tutorial, we will learn how to unmarshal JSON data retrieved from http.Get() function. Using the HTTP….... read more