TAG

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

By tuannguyen · 4 min read · GOLANG Solutions

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

By tuannguyen · 8 min read · GO

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

By tuannguyen · 3 min read · GOLANG Solutions