Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WorldLocation = Type("WorldLocation", func() {
Description("Geographical location")
Field(1, "lat", Float64, "Latitude", func() {
Example(37.8267)
})
Field(2, "long", Float64, "Longitude", func() {
Example(-122.4233)
})
Field(3, "city", String, "City", func() {
Example("San Francisco")
})
Field(4, "region", String, "State, region etc.", func() {
Example("CA")
})
Field(5, "country", String, "Country", func() {
Example("USA")
})
Required("lat", "long", "city", "region", "country")
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.