[24] Results

Golang : How to parse plain email text and process email header?

golang email header read-message

Problem :

Your program receive email in plain text and you need to parse email header information. How to that….... read more

Golang : Read a text file and replace certain words

golang read replace

Problem :

You have a text file with some words that you need to replace with another word.

Solution :

.... read more

Golang : Compound interest over time example

golang compound-interest formula read-float read-integer

It is time for me to do something "lighter" now.... such as investing rather than heavy duty programming ..... so….... read more

Golang : Read file with ioutil

golang read-file

This tutorial will show you how to read a file into buffer and display the content in Go. This example read plain text file, if….... read more

Golang : bufio.NewReader.ReadLine to read file line by line

golang bufio-newreader read-line

In the previous tutorial on how to read file line by line with bufio.NewScanner() example. The previous example….... read more

Golang : Marshal and unmarshal json.RawMessage struct example

golang json-raw-message json-marshal json-unmarshal

Golang's json.RawMessage type is a good way to deal with generic JSON objects other than interface{}. There are times when….... read more

Golang : Qt Yes No and Quit message box example

golang Qt yes-no-button message-box dialog-box

A quick tutorial on how to create simple dialog box and message box with Yes, No and Quit buttons. Pretty….... 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