package
Version:
v0.8.19
Opens a new window with list of versions in this module.
Published: Oct 28, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Apple struct {
Id string `json:"id"`
Price int64 `json:"price"`
Color string `json:"color"`
}
type Author struct {
Id string `json:"id"`
Name string `json:"name"`
Posts []*Post `json:"posts"`
RecentlyLiked []*Post `json:"recentlyLiked"`
Friends []*Author `json:"friends"`
}
type Color interface {
IsColor()
}
type Figure struct {
Id string `json:"id"`
Shape string `json:"shape"`
Color string `json:"color"`
Size int64 `json:"size"`
}
type Fruit interface {
IsFruit()
}
type Hotel struct {
Id string `json:"id"`
Name string `json:"name"`
Location *geom.T `json:"location"`
Area *geom.T `json:"area"`
}
type PointList struct {
Points []*geom.T `json:"points"`
}
type Post interface {
IsPost()
}
type Shape interface {
IsShape()
}
const (
TagGraphQL Tag = "GraphQL"
TagDatabase Tag = "Database"
TagQuestion Tag = "Question"
)
func (e *Tag) UnmarshalGQL(v interface{}) error
type User struct {
UserID string `json:"userID"`
Credentials *models.Credentials `json:"credentials"`
Name string `json:"name"`
LastSignIn *time.Time `json:"lastSignIn"`
RecentScores []float64 `json:"recentScores"`
Likes int64 `json:"likes"`
Reputation int64 `json:"reputation"`
Rank int64 `json:"rank"`
Active bool `json:"active"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.