[9] Results

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


Golang : Get executable name behind process ID example

golang os process-id executable-name syscall

Problem:

You want to check if a process is actually running and at the same time you want to find….... read more


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

golang executable binary created-by-golang

Problem:

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

Solutions:

Back in the DOS….... 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 : Lock executable to a specific machine with unique hash of the machine

golang unique-machine-hash lock-executable software-license md5

Problem:

Got a friend that was looking for ways to lock her Golang executable to a specific machine at her….... 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 : Add build version and other information in executables

golang ldflags add-build-information runtime executable binary

Problem:

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


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

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

Problem:

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


Advertisement