package
1.0.1
Repository: https://github.com/qiangxue/go-rest-api.git
Documentation: pkg.go.dev

# Functions

NewRepository creates a new album repository.
NewService creates a new album service.
RegisterHandlers sets up the routing of the HTTP handlers.

# Structs

Album represents the data about an album.
CreateAlbumRequest represents an album creation request.
UpdateAlbumRequest represents an album update request.

# Interfaces

Repository encapsulates the logic to access albums from the data source.
Service encapsulates usecase logic for albums.