go

This topic contains articles about Go programming tips, tools, and best practices.

Base64 Decoding a String in Go

To base64-decode a string in Go, you can use the decoding.DecodeString function from the encoding/base64 package. This function takes a base64-encoded string as input and returns the decoded data as a byte slice.

How To Work With Private Go Repositories

Go works seamlessly when the code that you are working with resides in public repositories. However, suppose you maintain your projects in private repositories. In that case, you need to tweak your environment a little to be able to work with your private Go modules.

Let’s Create a Syslog Logger

In this article, we’ll create a logging wrapper module that will log messages to Syslog: a standard network-based logging protocol that works on a wide variety of different types of devices and applications.

Episode

00:00:00 00:00:00