models

package
v0.0.0-...-4c0f951 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Food

type Food struct {
	UUID       string `json:"uuid"`
	PicURL     string `json:"pic_url"`
	ExpDate    int64  `json:"exp_date"`
	CreateDate int64  `json:"create_date"`
}

Food Model

type Tags

type Tags struct {
	UUID string `json:"uuid"`
	Name string `json:"name"`
}

Tags Model

type User

type User struct {
	UUID        string `json:"uuid"`
	FirstName   string `json:"first_name"`
	LastName    string `json:"last_name"`
	Email       string `json:"email"`
	Password    string `json:"password",omitempty`
	SumRatings  int    `json:"sum_ratings"`
	NumRatings  int    `json:"num_ratings"`
	Bio         string `json:"bio"`
	School      string `json:"school"`
	State       string `json:"state"`
	City        string `json:"city"`
	PhoneNumber string `json:"phone_number"`
	PicURL      string `json:"pic_url"`
}

User Model

Jump to

Keyboard shortcuts

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