viacep

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CEP

type CEP struct {
	CEP         string `json:"cep,omitempty"`
	Logradouro  string `json:",omitempty"`
	Complemento string `json:",omitempty"`
	Bairro      string `json:",omitempty"`
	Localidade  string `json:",omitempty"`
	UF          string `json:"uf,omitempty"`
	Unidade     string `json:",omitempty"`
	IBGE        string `json:"ibge,omitempty"`
	GIA         string `json:"gia,omitempty"`
}

CEP type

func Get

func Get(cep string) (result CEP, err error)

Get the data of a given CEP

Jump to

Keyboard shortcuts

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