get

package
v0.0.0-...-40e1022 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Getter

type Getter struct {
}

Getter will attempt to load a person. It can return an error caused by the data layer or when the requested person is not found

func (*Getter) Do

func (g *Getter) Do(ID int) (*data.Person, error)

Do will perform the get

Jump to

Keyboard shortcuts

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