Microservices in Go
Jump to navigation
Jump to search
External
- Microservices with Go: Building scalable and reliable microservices with Go by Alexander Shuiskov
TODO
- Finalize the book, left here: https://learning.oreilly.com/library/view/microservices-with-go/9781804617007/B18865_09.xhtml#:-:text=Testing%20is%20an,always%20important%20to
- Distill the Handler/Controller/Persistence model into a NOKB article.
Internal
Overview
Working Example
Project Layout
Each of the services metadata
, movie
, rating
contains multiple packages. The entire application is developed as a module.
. ├── README.md ├── go.mod ├── metadata │ ├── cmd │ │ └── main.go │ ├── internal │ │ ├── controller │ │ ├── handler │ │ └── repository │ └── pkg ├── movie │ └── cmd │ └── main.go └── rating └── cmd └── main.go
go mod init go-micros
Service Overview
- API
- Data model
- Business logic
- Database (persistence)
- Service dependencies