1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package grils import ( "time" ) type DataSource int const ( DataSourceACD DataSource = iota DataSourceAniDB ) type Gril struct { ID int KanjiName string RomajiName string OtherNames []string Age int Birthday time.Time Tags []string ForeignIDs map[DataSource]int }