package
Version:
v0.0.0-...-edb78a7
Opens a new window with list of versions in this module.
Published: Dec 23, 2015
License: GPL-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RegisterDomains(register registerType)
type Curso struct {
Id null.Int `db:"id" json:"id"`
Nome null.String `db:"nome" json:"nome"`
Nivel null.Int `db:"nivel_id" json:"nivel_id"`
}
type Disciplina struct {
Id int64 `json:"id"`
Nome string `json:"nome"`
}
type Token struct {
Token string `json:"token"`
}
type Turma struct {
Id int64 `db:"id" json:"id"`
Nome null.String `db:"nome" json:"nome"`
CursoId null.Int `db:"curso_id" json:"-"`
Curso *Curso `db:"-" json:"curso"`
}
type Usuario struct {
Id int64 `db:"id" json:"id"`
Login string `db:"login" json:"login"`
Nome string `db:"nome" json:"nome"`
Senha string `db:"senha" json:"-"`
Permissoes []string `db:"-" json:"permissoes"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.