Use typed IDs instead of plain strings
This commit is contained in:
@ -6,6 +6,9 @@ import (
|
||||
"github.com/aerogo/nano"
|
||||
)
|
||||
|
||||
// CompanyID represents a company ID.
|
||||
type CompanyID = ID
|
||||
|
||||
// Company represents an anime studio, producer or licensor.
|
||||
type Company struct {
|
||||
Name CompanyName `json:"name" editable:"true"`
|
||||
|
Reference in New Issue
Block a user