To get the most out of this book
I suggest you get some familiarity with Go by implementing a few applications, such as simple web services. Familiarity with a Docker tool would be a plus because we will be using it for running some of the tools that our microservices will be using. Finally, I strongly suggest implementing, running, and playing with the example microservices that we will be implementing so that all your knowledge will be cemented by practice.
Software/hardware covered in the book |
Operating system requirements |
Go 1.18 or above |
Windows, macOS, or Linux |
Docker |
Windows, macOS, or Linux |
|
Windows, macOS, or Linux |
Kubernetes |
Windows, macOS, or Linux |
Prometheus |
Windows, macOS, or Linux |
Jaeger |
Windows, macOS, or Linux |
Graphviz |
Windows, macOS, or Linux |
If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.
Download the example code files
The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Microservices-with-Go---Second-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/gbp/9781836207337.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: " XML represents data as a tree of nodes called elements. An element example would be <example>Some value</example>
.
A block of code is set as follows:
Metadata{
ID: "123",
Title: "The Movie 2",
Description: "Sequel of the legendary The Movie",
Director: "Foo Bars",
}
Any command-line input or output is written as follows:
protoc -I=api --go_out=. movie.proto
Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: "These solutions combine two roles: they act as both serialization formats and communication protocols – mechanisms for sending and receiving arbitrary data over the network."
Warnings or important notes appear like this.
Tips and tricks appear like this.