[18] Results

Golang : Get missing location after unmarshal binary and gob decode time.

golang time location unmarshal-binary gob-decode

Problem :

You loaded some time based data, found out that the time is missing location data and somehow screw….... read more

Golang : Read binary file into memory

golang binary-file

Reading a binary file content into memory for further manipulation is easy with Go. In this tutorial, we will show….... read more

Grep : How to grep for strings inside binary data

grep binary text string

Grep or Global Regular Expression Print is a very useful Unix/Linux command that I've practically used everyday. So, recently a….... read more

Golang : interface - when and where to use examples

golang interface unmarshal object-oriented

Question :

New comer to Golang will need to learn about interface eventually. So what exactly is interface? Where and….... read more

Golang : How to unmarshal JSON inner/nested value and assign to specific struct?

golang inner-JSON unmarshal struct

Another tutorial to be recorded here after helping a newbie to Golang. His problem was how to deal with JSON….... 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

Golang : [json: cannot unmarshal object into Go value of type]

golang json-cannot-unmarshal-object

Un-marshalling JSON data from external sources can be challenging sometimes. Encountered this error message while working on the previous .... read more

Golang : Convert IPv4 address to packed 32-bit binary format

golang ip-address packed-32-bits-binary big-endian

There are times when we need to deal with low-level network functions such as dealing with C program and the….... read more