Microservices in Go: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
├── go.mod | ├── go.mod | ||
├── metadata | ├── metadata | ||
│ | │ ├── cmd | ||
│ | │ │ └── main.go | ||
│ ├── internal | |||
│ │ ├── controller | |||
│ │ ├── handler | |||
│ │ └── repository | |||
│ └── pkg | |||
├── movie | ├── movie | ||
│ └── cmd | │ └── cmd |
Revision as of 20:54, 26 September 2023
External
- Microservices with Go: Building scalable and reliable microservices with Go by Alexander Shuiskov
Internal
Overview
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