How to check if a file exists in Golang using os.Stat method. A FileInfo describing the named file or an error is returned.
How to marshal a JAXB object into
org.w3c.dom.Document using Transformer class and formatted console print.
How to Install GoLang 1.10 on Ubuntu. This can be applied to any Golang version and for any Ubuntu version.
How to stop and remove all Docker containers using two commands. Useful for fresh restart or when you run out of disk space.
How to setup a proxy with authentication for HTTP client in Golang example using http.Transport and http.Client. Simple example calling httpbin.org test server.