[57] Results

Golang : Simple File Server

golang file-server

Got a request from a developer friend yesterday on how to open up part of his machine and turn into….... read more


Golang : Chunk split or divide a string into smaller chunk example

golang chunk-split line-break character-wrap rfc-2045

Problem:

You need a function in Golang that are similar to PHP's chunk_split() function that can split a string into….... 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 more


Golang : Move file to another directory

golang move-file

So far, Go does not have a function to directly move file to different folders. We have to provide our….... read more


Golang : Download file example

golang download file

Continuing from previous tutorial on how to use http.Get() function, in this tutorial, we will learn how to….... read more


Golang : Write file with io.WriteString

golang write-file

Writing to a file in Golang is easy. There are couple of ways to do it. In this tutorial, we….... read more


Golang : Process non-XML/JSON formatted ASCII text file example

golang raw-data-file non-XML non-JSON save-file

Problem:

You have to process raw data files produced by third-party servers that you have no control over. The files….... read more


Golang : How to transmit update file to client by HTTP request example

golang transmit-file http-request download file-size update-server

Alright, got a friend here that wants a simple Golang http server that will handle updates to his software. Basically,….... read more


Advertisement