March 2024
Beginner to intermediate
680 pages
14h 40m
English
Overview
This chapter demonstrates how Go handles variables representing time data, which is a very important aspect of the language.
By the end of this chapter, you will be able to create your own time format, compare and manage time, calculate the duration of time series, and format time according to user requirements.
For this chapter, you'll require Go version 1.21 or higher. The code for this chapter can be found at: https://github.com/PacktPublishing/Go-Programming-From-Beginner-to-Professional-Second-Edition-/blob/main/Chapter12.
The previous chapter introduced you to basic debugging in Go. The more you develop code in Go, the better you get; however, developing and deploying code may ...
Read now
Unlock full access