models

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

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

Go to latest
Published: Dec 5, 2017 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kezban

type Kezban struct {
	kezban.Model `,inline`
	Name         string    `bson:"name,omitempty" json:"name" kezban:"unique"`
	Birthdate    time.Time `bson:"birthdate,omitempty" json:"birthdate"`
	GrumpyLevel  int       `bson:"grumpy_level,omitempty" json:"grumyLevel"`
}

func (*Kezban) GetCollectionName

func (self *Kezban) GetCollectionName() string

Jump to

Keyboard shortcuts

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