refactor(models,ddb): rename miltiple object models and related functions
This commit is contained in:
@@ -7,32 +7,32 @@ type Pagination struct {
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type Persons struct {
|
||||
type PersonSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Persons []PersonBrief `json:"persons"`
|
||||
}
|
||||
|
||||
type Roles struct {
|
||||
type RoleSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Roles []Role `json:"roles"`
|
||||
}
|
||||
|
||||
type Artists struct {
|
||||
type ArtistSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Artists []ArtistBrief `json:"artists"`
|
||||
}
|
||||
|
||||
type Tracks struct {
|
||||
type TrackSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Tracks []TrackBrief `json:"tracks"`
|
||||
}
|
||||
|
||||
type Aliases struct {
|
||||
type AliasSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Aliases []Alias `json:"aliases"`
|
||||
}
|
||||
|
||||
type Kirokus struct {
|
||||
type KirokuSlice struct {
|
||||
Pagination Pagination `json:"pagination"`
|
||||
Kirokus []Kiroku `json:"kirokus"`
|
||||
}
|
||||
Reference in New Issue
Block a user