agency

package
v0.0.1-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrNocNotFound = AgencyErr("could not find NOC for given agency_id")
	ErrNocExists   = AgencyErr("NOC already exists, skipping")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Agencies

type Agencies map[AgencyId]Noc

func (Agencies) Add

func (a Agencies) Add(id AgencyId, noc Noc) error

func (Agencies) AddFromCsv

func (a Agencies) AddFromCsv(file io.ReadCloser) error

func (Agencies) GetNoc

func (a Agencies) GetNoc(id AgencyId) (Noc, error)

type AgencyErr

type AgencyErr string

func (AgencyErr) Error

func (e AgencyErr) Error() string

type AgencyId

type AgencyId string

type Noc

type Noc string

Jump to

Keyboard shortcuts

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