result

package
v0.0.0-...-560b2d4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2017 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVResult

type CSVResult struct {
	api.APIPlacesResult
	// contains filtered or unexported fields
}

func NewCSVResult

func NewCSVResult(result map[string]string) (*CSVResult, error)

func (CSVResult) Path

func (r CSVResult) Path() string

func (CSVResult) String

func (r CSVResult) String(flags ...api.APIResultFlag) string

func (CSVResult) URI

func (r CSVResult) URI() string

func (CSVResult) WOFCountry

func (r CSVResult) WOFCountry() string

func (CSVResult) WOFId

func (r CSVResult) WOFId() int64

func (CSVResult) WOFName

func (r CSVResult) WOFName() string

func (CSVResult) WOFParentId

func (r CSVResult) WOFParentId() int64

func (CSVResult) WOFPlacetype

func (r CSVResult) WOFPlacetype() string

func (CSVResult) WOFRepo

func (r CSVResult) WOFRepo() string

type JSONResult

type JSONResult struct {
	api.APIPlacesResult
	// contains filtered or unexported fields
}

func NewJSONResult

func NewJSONResult(result gjson.Result) (*JSONResult, error)

func (JSONResult) Path

func (r JSONResult) Path() string

func (JSONResult) String

func (r JSONResult) String(flags ...api.APIResultFlag) string

func (JSONResult) URI

func (r JSONResult) URI() string

func (JSONResult) WOFCountry

func (r JSONResult) WOFCountry() string

func (JSONResult) WOFId

func (r JSONResult) WOFId() int64

func (JSONResult) WOFName

func (r JSONResult) WOFName() string

func (JSONResult) WOFParentId

func (r JSONResult) WOFParentId() int64

func (JSONResult) WOFPlacetype

func (r JSONResult) WOFPlacetype() string

func (JSONResult) WOFRepo

func (r JSONResult) WOFRepo() string

type MetaResult

type MetaResult struct {
	api.APIPlacesResult
	// contains filtered or unexported fields
}

func NewMetaResult

func NewMetaResult(result map[string]string) (*MetaResult, error)

func (MetaResult) Path

func (r MetaResult) Path() string

func (MetaResult) String

func (r MetaResult) String(flags ...api.APIResultFlag) string

func (MetaResult) URI

func (r MetaResult) URI() string

func (MetaResult) WOFCountry

func (r MetaResult) WOFCountry() string

func (MetaResult) WOFId

func (r MetaResult) WOFId() int64

func (MetaResult) WOFName

func (r MetaResult) WOFName() string

func (MetaResult) WOFParentId

func (r MetaResult) WOFParentId() int64

func (MetaResult) WOFPlacetype

func (r MetaResult) WOFPlacetype() string

func (MetaResult) WOFRepo

func (r MetaResult) WOFRepo() string

Jump to

Keyboard shortcuts

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