Documentation
¶
Index ¶
Constants ¶
View Source
const CorreiosException string = "correios exception: %v"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Tipo string `xml:"tipo"`
Status uint32 `xml:"status"`
Data string `xml:"data"`
Hora string `xml:"hora"`
Descricao string `xml:"descricao"`
Local string `xml:"local"`
Codigo uint32 `xml:"codigo"`
Cidade string `xml:"cidade"`
UF string `xml:"uf"`
}
Event is a struct that represent each event of tracking code
func XMLToEvents ¶
XMLToEvents is a function that receive a csv string and convert to array of Event If XML has a error should return this error
Click to show internal directories.
Click to hide internal directories.