Documentation ¶
Index ¶
- func CommonConcept(url string) ([]byte, error)
- func CreatePetsV1()
- func CreatePetsV2()
- func NotSoSimple(ID int64, name string, age int, registered bool) string
- func PetFetcherTypicalUsage()
- func Simpler(ID int64, name string, age int, registered bool) string
- func TooAbstract(getter myGetter, url string) ([]byte, error)
- type CSVFormatter
- type GOBFormatter
- type JSONFormatter
- type Pet
- type ThinFormatter
- type WideFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonConcept ¶
func CreatePetsV1 ¶
func CreatePetsV1()
func CreatePetsV2 ¶
func CreatePetsV2()
func PetFetcherTypicalUsage ¶
func PetFetcherTypicalUsage()
func TooAbstract ¶
Types ¶
type CSVFormatter ¶
type CSVFormatter struct{}
type GOBFormatter ¶
type GOBFormatter struct{}
type JSONFormatter ¶
type JSONFormatter struct{}
type Pet ¶
func PetFetcher ¶
PetFetcher searches the data store for pets whos name matches the search string. Limit is optional (default is 100). Offset is optional (default 0). sortBy is optional (default name). sortAscending is optional
type ThinFormatter ¶
Click to show internal directories.
Click to hide internal directories.