[61] Results

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

Golang : Replace a parameter's value inside a configuration file example

golang update-file change-configuration replace-file-content-by-line

Alright, putting this here for my own future reference. In this tutorial, we will explore how to read in a….... read more

Golang : How to stop user from directly running an executable file?

golangqt prevent-application-launching update-program executable-file

There are times when you need to prevent the user from directly executing an executable file, especially if the executable/binary….... read more

Golang : Update database with GORM example

golang gorm mysql mariadb update

A simple tutorial on how to use GORM(Golang Object Relational Map) to connect to a MySQL/MariaDB database and UPDATE data.

.... read more

Linux : sudo yum updates not working

linux yum update defunct

Try to do a sudo yum updates command this morning on one of my DigitalOcean droplets today and encounter weird….... 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 : Get file last modified date and time

golang file

In this tutorial, we will learn how to get a file last modified date and time with Go. Getting the last modified date and time….... read more

Golang : get the current working directory of a running program

golang executable file-path

Problem :

You are looking for way to get the folder/directory of the running program.

Solution :

Use https://bitbucket.org/kardianos/osext.... read more