[64] Results

Golang : Embed secret text string into binary(executable) file

golang embed-include-data executable-binary-file secret-text-string hex


You want to hide certain plain text string that you plan to embed(include) in your executable or binary file.….... read more

Golang : Frobnicate or tweaking a string example

golang hex embed-include-data executable-binary-file secret-text-string utf8

A simple example of how to frobnicate(tweaking) a string with UTF-8 characters. Useful in obscuring plain text in embedded….... 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 how to read a binary….... 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

How to tell if a binary(executable) file or web application is built with Golang?

golang executable binary created-by-golang


How to tell if a binary(executable) file or web application is built with Golang?


Back in the DOS….... read more

Golang : Add build version and other information in executables

golang ldflags add-build-information runtime executable binary


You want to add version and other information such as compilation time into your executables(binaries) and display the information….... read more

Golang : Convert an executable file into []byte example

golang byte-conversion write-read-file c executable

This small utility program will read an executable file(or just any file) and convert the content into a []byte slice.….... 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