models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	Id         int `storm:"id,increment"`
	CreatedAt  time.Time
	ModifiedAt time.Time
}

type Bucket

type Bucket struct {
	Base     `storm:"inline"`
	Uid      string            `storm:"unique"`
	Prop     map[string]string `sql:",hstore"`
	FileName []string          `sql:",array"`
	FileType []string          `sql:",array"`
	FileLen  []int64           `sql:",array"`
	FileHash []string          `sql:",array"`
}

type Class

type Class struct {
	Base
}

type User

type User struct {
	Base     `storm:"inline"`
	Name     string `storm:"unique"`
	Password string
}

Jump to

Keyboard shortcuts

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