model

package
v0.0.0-...-61d2ec2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 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 Article

type Article struct {
	Info   *ArticleInfo `json:"info"`
	Errors []*Errors    `json:"errors"`
}

type ArticleHeader

type ArticleHeader struct {
	ID        string    `json:"id"`
	Title     string    `json:"title"`
	ImagePath string    `json:"ImagePath"`
	Tags      []*string `json:"tags"`
	Synopsis  string    `json:"synopsis"`
	Nice      int       `json:"nice"`
}

type ArticleInfo

type ArticleInfo struct {
	Title      string           `json:"title"`
	ImagePath  string           `json:"imagePath"`
	Nice       int              `json:"nice"`
	Context    string           `json:"context"`
	UserStatus *ArticleUserInfo `json:"userStatus"`
	Tags       []*string        `json:"tags"`
	Comments   []*Comment       `json:"comments"`
}

type ArticleUserInfo

type ArticleUserInfo struct {
	Nice bool `json:"nice"`
	List bool `json:"list"`
}

type Articles

type Articles struct {
	Articles []*ArticleHeader `json:"articles"`
	Errors   []*Errors        `json:"errors"`
}

type Comment

type Comment struct {
	UserName  string `json:"userName"`
	UserImage string `json:"userImage"`
	Contents  string `json:"contents"`
}

type Date

type Date struct {
	Year  int `json:"year"`
	Month int `json:"month"`
	Day   int `json:"day"`
}

type Detour

type Detour struct {
	ID          string  `json:"id"`
	Name        string  `json:"name"`
	Image       string  `json:"image"`
	Description string  `json:"Description"`
	Locate      *Locate `json:"locate"`
}

type Errors

type Errors struct {
	Code        int    `json:"code"`
	Message     string `json:"message"`
	Description string `json:"description"`
}

type Genres

type Genres struct {
	Genres []string  `json:"genres"`
	Errors []*Errors `json:"errors"`
}

type Like

type Like struct {
	Status bool      `json:"status"`
	Errors []*Errors `json:"errors"`
}

type List

type List struct {
	Articles []*ArticleHeader `json:"articles"`
	Errors   []*Errors        `json:"errors"`
}

type Locate

type Locate struct {
	Latitude  float64 `json:"latitude"`
	Longitude float64 `json:"longitude"`
}

type Log

type Log struct {
	Log    *LogInfo  `json:"log"`
	Errors []*Errors `json:"errors"`
}

type LogData

type LogData struct {
	ID    string `json:"id"`
	Title string `json:"title"`
}

type LogInfo

type LogInfo struct {
	ID            string    `json:"id"`
	Title         string    `json:"title"`
	Date          string    `json:"date"`
	Worktime      int       `json:"worktime"`
	Concentration []float64 `json:"concentration"`
}

type Logs

type Logs struct {
	Logs   []*LogData `json:"logs"`
	Errors []*Errors  `json:"errors"`
}

type Result

type Result struct {
	Status bool      `json:"status"`
	Errors []*Errors `json:"errors"`
}

type Spot

type Spot struct {
	ID     string  `json:"id"`
	Name   string  `json:"name"`
	Locate *Locate `json:"locate"`
}

type Spots

type Spots struct {
	Spot   *Spot     `json:"spot"`
	Detour []*Detour `json:"detour"`
	Errors []*Errors `json:"errors"`
}

type Token

type Token struct {
	Value  string    `json:"value"`
	Errors []*Errors `json:"errors"`
}

type User

type User struct {
	Name     string    `json:"name"`
	Birthday *Date     `json:"birthday"`
	Gender   int       `json:"gender"`
	Genre    []*string `json:"genre"`
}

type UserInfo

type UserInfo struct {
	Info   *User     `json:"info"`
	Errors []*Errors `json:"errors"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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