mock

package
Version: v0.0.0-...-22d7473 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Archivar = &model.LeaderRole{Name: "Archivar", NamePlural: "Archivare"}
View Source
var Credentials = &model.Role{Id: "credentials", Name: "Login Verwalter", NamePlural: "Login Verwalter"}
View Source
var Events = &model.Role{Id: "event", Name: "Termine", NamePlural: "Termine"}
View Source
var Fluegelhorn = &model.Instrument{NamePlural: "Flügelhörner", Name: "Flügelhorn"}
View Source
var Franz = &model.Member{
	FirstName:    "Franz",
	LastName:     "Moos",
	Joined:       2011,
	Active:       false,
	LoginAllowed: false,
	Instrument:   Horn,
	Password:     "giogftr",
	Gender:       "m"}
View Source
var FranzCredentials = &model.RoleMember{Member: Franz, Role: Credentials}
View Source
var Fruehschoppen = &model.Event{
	Name:          "Frühschoppen",
	Date:          time.Date(2018, 6, 17, 0, 0, 0, 0, time.Local),
	Uniform:       "MVL Polo und Lederhose",
	MusicianPlace: "Musikheim",
	Place:         "Musikheim",
	Time:          time.Date(1, 1, 1, 10, 0, 0, 0, time.Local),
	MusicianTime:  time.Date(0, 0, 0, 8, 45, 0, 0, time.Local),
	Note:          "Anschl. Wegräumen",
	Important:     true,
	Internal:      false}
View Source
var Generalversammlung = &model.Event{
	Name:          "Generalversammlung",
	Date:          time.Date(2018, 3, 17, 0, 0, 0, 0, time.Local),
	MusicianPlace: "Musikheim",
	MusicianTime:  time.Date(0, 0, 0, 20, 0, 0, 0, time.Local),
	Important:     true,
	Internal:      true}
View Source
var Helmut = &model.Member{
	FirstName:    "Helmut",
	LastName:     "Gras",
	Joined:       1975,
	Active:       true,
	LoginAllowed: true,
	Instrument:   Tenorhorn,
	Password:     "dfldfg",
	Gender:       "m"}
View Source
var HelmutArchivar = &model.LeaderRoleMember{LeaderRole: Archivar, Member: Helmut, Priority: 0}
View Source
var HelmutEvents = &model.RoleMember{Member: Helmut, Role: Events}
View Source
var Horn = &model.Instrument{Name: "Waldhorn", NamePlural: "Waldhörner"}
View Source
var Instrumente = &model.Role{Id: "instrument", Name: "Instrumenten Manager", NamePlural: "Instrumenten Manager"}
View Source
var Josef = &model.Member{
	FirstName:    "Josef",
	LastName:     "Strauch",
	Joined:       2009,
	Active:       true,
	LoginAllowed: true,
	Instrument:   Tenorhorn,
	Username:     "josef",
	Password:     "111",
	Gender:       "m"}
View Source
var JosefRoot = &model.RoleMember{Role: Root, Member: Josef}
View Source
var Karl = &model.Member{
	FirstName:    "Karl",
	LastName:     "Baum",
	Joined:       2014,
	Active:       true,
	LoginAllowed: true,
	Instrument:   Fluegelhorn,
	Password:     "dfghhj",
	Gender:       "m"}
View Source
var Marschmusikwertung = &model.Event{
	Name:          "Marschmusikwertung",
	Date:          time.Date(2018, 9, 17, 0, 0, 0, 0, time.Local),
	Uniform:       "Uniform mit Hut",
	MusicianPlace: "Musikheim",
	Place:         "Spannberg",
	Time:          time.Date(1, 1, 1, 13, 0, 0, 0, time.Local),
	MusicianTime:  time.Date(0, 0, 0, 11, 0, 0, 0, time.Local),
	Important:     false,
	Internal:      false}
View Source
var Obmann = &model.LeaderRole{Name: "Obmann", NamePlural: "Obmänner"}
View Source
var PaulArchivarStellvertreter = &model.LeaderRoleMember{LeaderRole: Archivar, Member: Paulina, Priority: 1}
View Source
var PaulInstrumente = &model.RoleMember{Role: Instrumente, Member: Paulina}
View Source
var PaulObmann = &model.LeaderRoleMember{LeaderRole: Obmann, Member: Paulina, Priority: 0}
View Source
var Paulina = &model.Member{
	FirstName:    "Paulina",
	LastName:     "Blatt",
	Joined:       1993,
	Active:       true,
	LoginAllowed: true,
	Instrument:   Fluegelhorn,
	Username:     "willi",
	Password:     "123456",
	Gender:       "f"}
View Source
var Root = &model.Role{Id: "root", Name: "Root", NamePlural: "Root"}
View Source
var Tenorhorn = &model.Instrument{NamePlural: "Tenorhörner", Name: "Tenorhorn"}

Functions

func MockData

func MockData()

Initializes all mock data.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL