Interesting.

I had to do pretty much the same thing in Go for testing my application’s API. I needed to send a RESTful API call to the application server. I built the client with less than 35 lines of Go. It randomly sends an API call every few minutes for 24 hours. and those are easily adjusted to whatever time frames and testing routines I wanted. No 3rd party libs were necessary for the client.

I worked on Java for 20+ years and then switched to Go. Compared to Go, Java is much more verbose and requires a JVM while with Go the necessary code is so much more concise, as in fewer lines, and compiles to a single executable file.

Written by

Engineer and veteran, 13 years of Design Engineering, 20+ years in Software Engineering, Go enthusiast. I read a lot, write some too, ivank2139@protonmail.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store