Golang
How to turn html body tag into string in GO? [SOLVED]
In order to make the string printable as plain text, we need to strip the string of its tags. In today's post, we will examine some methods to convert HTML to
Golang cobra Tutorial [With Examples]
Golang is a perfect programming language for creating CLI applications. In today's post, I will introduce you Cobra - a library for creating powerful modern
When does the init() function run in GO? [SOLVED]
Understanding the basics of golang init function and when it is called in the overall flow of the golang code?
How to multiply duration by integer in GO? [SOLVED]
In this tutorial, we will walk through some examples of converting int to time.Duration and doing some operations (division, multiply) with it. The built- in
How to Remove or Uninstall a Go Package (go get, Modules, GOPATH)
Learn how to remove or uninstall a Go package installed with go get. Covers Go Modules, tools, GOPATH, and common mistakes.
