models

package
v0.0.0-...-b3cd65c Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collection

func Collection() []interface{}

Types

type Emoji

type Emoji struct {
	gorm.Model
	Title      string         `gorm:"type:varchar" json:"title"`
	CodePoints string         `gorm:"type:varchar" json:"code_points"`
	ShortCodes string         `gorm:"type:varchar" json:"short_codes"`
	Tags       pq.StringArray `gorm:"type:varchar[]" json:"tags"`
	Url        string         `gorm:"type:varchar" json:"url"`
	VersionID  uint
}

func (Emoji) TableName

func (Emoji) TableName() string

type Version

type Version struct {
	gorm.Model
	VersionName string `gorm:"type:varchar" json:"version_name"`
}

func (Version) TableName

func (Version) TableName() string

Jump to

Keyboard shortcuts

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