[24] 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 : How To Use Panic and Recover

golang errorpanic recover

In this tutorial we will understand how panic function works and how to "interrupt and recover" from the panic. First, let's examine Panic function package….... 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 : Handling Yes No Quit query input

golang keyboard-input yes-no-quit-prompt get-char

The following is a simple program that will accept a single key answer from the console without the user hitting….... read more