model

package
v0.0.0-...-16b7ef6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Account    string      `json:"account"`
	UID        string      `json:"uid,omitempty"`
	Name       string      `json:"name,omitempty"`
	Username   string      `json:"username,omitempty"`
	Password   string      `json:"password,omitempty"`
	Email      string      `json:"email,omitempty"`
	ProfileURL string      `json:"profile_url,omitempty"`
	Verified   bool        `json:"verified,omitempty"`
	CreatedAt  string      `json:"created_at,omitempty"`
	Follows    []*Place    `json:"follows,omitempty"`
	Interested []*Interest `json:"interested,omitempty"`
}

Account struct

type Interest

type Interest struct {
	Interest string `json:"interest"`
	UID      string `json:"uid,omitempty"`
	Name     string `json:"name,omitempty"`
}

Interest struct

type Location

type Location struct {
	Type   string    `json:"type,omitempty"`
	Coords []float64 `json:"coordinates,omitempty"`
}

Location struct

type Place

type Place struct {
	Place     string   `json:"place"`
	UID       string   `json:"uid,omitempty"`
	Name      string   `json:"name,omitempty"`
	Featured  string   `json:"featured,omitempty"`
	Website   string   `json:"website,omitempty"`
	Tagline   string   `json:"tagline,omitempty"`
	Contact   string   `json:"contact,omitempty"`
	Verified  bool     `json:"verified,omitempty"`
	Location  Location `json:"location,omitempty"`
	Amenity   string   `json:"amenity,omitempty"`
	CreatedAt string   `json:"created_at,omitempty"`
}

Place struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL