organisation

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowNames

func ShowNames(input io.Reader)

ShowNames displays the name and uid of organisations

Types

type List

type List struct {
	Organisations []*Organisation
}

List is a list of Organisations, used for index action

type Organisation

type Organisation struct {
	ID   string `jsonapi:"primary,organisations"`
	Name string `jsonapi:"attr,name"`
}

Organisation represents a single organisation

Jump to

Keyboard shortcuts

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