[22] Results

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 : 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

Golang : How to save log messages to file?

golang logs setoutput error-messages logging

Without log file, system administrators and developers life will be difficult or near impossible to do the work. There is….... read more

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 : Create zip/ePub file without compression(use Store algorithm)

golang zip epub no-compression

Problem :

You need to create zip file without compression. i.e just use the Store algorithm. For example, you are….... 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 : 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 : 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