Documentation ¶ Index ¶ Variables func Query(db *datastore.Datastore) datastore.Query type Namespace func New(db *datastore.Datastore) *Namespace func (n *Namespace) Defaults() func (n *Namespace) NameExists(name string) (ok bool, err error) func (n *Namespace) Put() (err error) Constants ¶ This section is empty. Variables ¶ View Source var NamespaceExists = errors.New("Namespace already exists") Functions ¶ func Query ¶ func Query(db *datastore.Datastore) datastore.Query Types ¶ type Namespace ¶ type Namespace struct { mixin.Model[Namespace] IntId int64 Name string } func New ¶ func New(db *datastore.Datastore) *Namespace func (*Namespace) Defaults ¶ func (n *Namespace) Defaults() func (*Namespace) NameExists ¶ func (n *Namespace) NameExists(name string) (ok bool, err error) func (*Namespace) Put ¶ func (n *Namespace) Put() (err error) Override put on model Source Files ¶ View all Source files errors.gonamespace.go Directories ¶ Show internal Expand all Path Synopsis consts Click to show internal directories. Click to hide internal directories.