Posts tagged with golang
-
The Ultimate Go HTTP Server Tutorial: Logging, Tracing, and More
In this article we explre how to build a server in go that has Logging, tracing heath check and Graceful shutdowns from scratch with the standard library.
-
A Hands-On Approach to Zap - Structured Logging in Go
Zap is a high-performance library for Go that offers a fast and efficient way to log messages in Go applications. It is a structured logger, which means that it logs messages in a format, such as JSON, which can be easily parsed by other tools. With its fast performance, it allows simple logging without impacting the performance of your application.
-
How To Pretty-Print JSON in Go
Learn how to pretty-print JSON data in Go using the `MarshalIndent`, `json.Indent`, and `NewEncoder.SetIndent` methods.
-
Golang Bytes
A byte is an unsigned integer that represents a single byte of data it is represented by the `uint8` type. By convention a byte is represented by the `byte` keyword.
-
Golang String Manipulation
Learn how to manipulate strings in Go. This article covers creating strings, multiline strings, string manipulation, and more.