[17] Results

Golang : Exit, terminating or aborting a program

golang exit abort error

There are times where a controlled termination of a program is required rather than proceeding ahead. This is a quick….... read more

Golang : Smarter Error Handling with strings.Contains()

golang error-handling

In this tutorial, we will learn some simple trick with strings.Contain() function on capturing the error message and handling it….... read more

Golang : Error handling methods

golang error exception

Couple of days ago I attended a Golang meetup for the first time nearby where I live. There are developers….... read more

Golang : rune literal not terminated error

golang error rune

Encounter this error message rune literal not terminated while working on a Golang project recently. Took me a while to….... read more

Fix sudo yum hang problem with no output or error messages

yum hangs no-error-messages

Encounter a weird error this morning while trying to execute sudo yum update command. Yum just hangs there and no….... read more

Golang : unknown escape sequence error

golang unknown-escape-sequence error

Encountered a funky error message unknown escape sequence while working this the tutorial on how to find IP….... read more

Golang : cannot assign type int to value (type uint8) in range error

golang cannot-assign-type error

Sometimes, we tend to overlook a small part of for--loop just because we use it frequently and expect the compiler….... read more

Golang : Logging with logrus

golang logrus error-messages logging

While researching for the previous tutorial on how to save log messages to file. I came across an….... read more