Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
Organisations []*Organisation
}
List is a list of Organisations, used for index action
func (List) FindByNameOrUID ¶ added in v0.12.0
func (organisations List) FindByNameOrUID(nameOrUID string) Organisation
FindByNameOrUID look up a Organisation by name in List
type Organisation ¶
type Organisation struct { ID string `jsonapi:"primary,organisations"` Name string `jsonapi:"attr,name"` }
Organisation represents a single organisation
Click to show internal directories.
Click to hide internal directories.