16 lines
386 B
Go
16 lines
386 B
Go
package main
|
|
|
|
import "time"
|
|
|
|
// TagClass : holds information about a specific TagClass
|
|
type TagClass struct {
|
|
ID int `json:"id"`
|
|
ClassType string `json:"classType"`
|
|
Description string `json:"description"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|
|
|
|
// TagClasses : a list of TagClass items
|
|
type TagClasses []TagClass
|