rav

package
v0.0.0-...-7fcd714 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Name        string          `json:"name" form:"name"`
	Slug        string          `json:"slug" form:"slug"`
	Rank        int             `json:"rank" form:"rank"`
	Platform    string          `json:"platform" form:"platform"`
	Description string          `json:"description" form:"description"`
	Published   bool            `json:"published" form:"published"`
	Selected    bool            `json:"selected" form:"selected"`
	Favorite    bool            `json:"fav" form:"favorite"`
	Checked     map[string]bool `json:"checked"`
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

type Media

type Media struct {
	WebSite     []string `json:"web"`
	Explorer    []string `json:"explorer"`
	Chat        []string `json:"chat"`
	Twitter     string   `json:"tw"`
	Facebook    string   `json:"facebook"`
	Telegram    string   `json:"telegram"`
	Reddit      string   `json:"reddit"`
	Github      []string `json:"github"`
	BitcoinTalk string   `json:"bitcointalk"`
	WhitePaper  string   `json:"whitepaper"`

	// contains filtered or unexported fields
}

type User

type User struct {
	ID       string
	Name     string
	Email    string `gorm:"type:varchar(100);unique_index"`
	Gender   string `json:"Gender"`
	Password string `json:"Password"`
}

User struct declaration

Jump to

Keyboard shortcuts

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