-Migrated from my original blog
This is my fist post on this blog, so I decided to do something simple. Years ago when I switched to using Linux, I started using VirtualBox to test other Linux distros, and to run Window.
OK, so your asking yourself, why… that’s easy with os.File you can just use the Stat() method and get the os.FileInfo and inside the os.FileInfo struct there is a Size() method and that will return an int64.
os.File
Stat()
os.FileInfo
Size()
int64
file, err :=…
Golang has really become my go to language, and has replaced Python as my main scripting language. I love how easy it is to write. I love how fast it is…
This just started as a thought… What if I could compile an existing executable binary into a golang binary. So in my mind I toyed with the idea, and so far the…
So recently I was asked help get some API services built with go to be testable through service testing. By service testing I mean using `go test` to test JSON payloads coming from the running…
This post came from one of the challenges set by my local GoLang user group.
Problem 2:
Create an API with an…