JUST THE RAMBLINGS OF A PASSIONATE PROGRAMMER AND LINUX LOVER
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…
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 :=…
-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.
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 post came from one of the challenges set by my local GoLang user group.
Problem 2:Create an API with an…
Problem 2:
Create an API with an…