Chapter 1 – Getting started with Gin
- Golang is currently one of the fastest growing programming languages in the software development industry. It is a lightweight, open-source language suited for today's microservices architectures.
- Multiple web frameworks exist, the most popular are Gin, Martini, and Gorilla.
- A Go module is a way to group together a set of packages and give it a version number to mark its existence at a specific point in time.
- The default port of an HTTP server backed by Gin framework is
8080
. - You can use the
c.JSON()
orc.XML()
methods to return literal JSON or XML structs.