Help us shape the future of Go! Take the 2026 Go Developer Survey

cep

package module
v0.0.0-...-048b64f Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: MIT Imports: 4 Imported by: 0

README

cep

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"`
	UF                    string `json:"uf"`
	Localidade            string `json:"localidade"`
	LocalidadeAbrev       string `json:"localidade_abrev"`
	LocalidadeTipo        string `json:"localidade_tipo"`
	Logradouro            string `json:"logradouro"`
	LogradouroAbrev       string `json:"logradouro_abrev"`
	LogradouroTipo        string `json:"logradouro_tipo"`
	LogradouroComplemento string `json:"logradouro_complemento"`
	Bairro                string `json:"bairro"`
	BairroAbrev           string `json:"bairro_abrev"`
	CodigoMunicipio       string `json:"codigo_municipio"`
}
func Search(cep string, connParams ConnParams) (CEP, error)

type ConnParams

type ConnParams struct {
	Driver   string
	Host     string
	Port     int
	User     string
	Password string
	DBName   string
	Schema   string
	SSLMode  bool
}

func (ConnParams) SSLModeAsString

func (c ConnParams) SSLModeAsString() string

Jump to

Keyboard shortcuts

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