You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package character
import ( "git.aiterp.net/rpdata2-take2/rpdata2/auth" "git.aiterp.net/rpdata2-take2/rpdata2/tag" )
type Character struct { ID string `json:"id"` Name string `json:"name"` ShortName string `json:"shortName"` DisplayName string `json:"displayName,omitempty"` Description string `json:"description"` FavoriteColor string `json:"favoriteColor"` WikiPage string `json:"wikiPage"`
Author auth.User `json:"author"` Attributes []Attribute `json:"attributes"` Relations []Relation `json:"relations"` Tags []Tag `json:"tags"` }
type Attribute struct { Label string `json:"label,omitempty"` Value string `json:"value,omitempty"` }
type Relation struct { Label string `json:"label,omitempty"` Character }
type Tag struct { Label string `json:"label,omitempty"` Restricted bool `json:"restricted,omitempty"` tag.Tag }
|