- Clean architecture: go-clean-architecture
- HTTP web framework: gin
- ORM: gorm
- Configuration: viper
- API documentation: swagger
- Mocking framework: gomock
go fmt ./...
go run cmd/api/main.go
go run cmd/migrate/main.go
swag init -g cmd/api/main.go
mockgen -source="internal/user/repository.go" -destination="internal/user/mock/repository.go" -package=mock
mockgen -source="internal/user/usecase.go" -destination="internal/user/mock/usecase.go" -package=mock