package
module
Version:
v0.0.0-...-c75792f
Opens a new window with list of versions in this module.
Published: Jul 24, 2018
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
README
¶
MultasGT
Soporte
- Guatemala
- Mixco
- Santa Catarina Pinula
- Frainajes
- Villa Nueva
- PNC
- Antigua Guatemala
LICENSE
Documentation
¶
CleanStrings removes any white unnecessary whitespace
GetAttribute gets an attribute from an HTML node.
Antigua implementation.
Check retrieves all tickes and aditional information.
Emetra implementation.
Check retrieves all tickes and aditional information.
Emixtra implementation.
Check retrieves all tickes and aditional information.
Fraijanes implementation.
Check retrieves all tickes and aditional information.
PNC implementation.
Check retrieves all tickes and aditional information.
SCP implementation.
Check retrieves all tickes and aditional information.
type Ticket struct {
ID string `json:"id"`
Entity string `json:"entity"`
Date string `json:"date"`
Amount string `json:"amount"`
Discount string `json:"discount"`
Total string `json:"total"`
Location string `json:"location"`
Info string `json:"info"`
Photo string `json:"photo"`
}
Ticket represents the information related to the ticket.
GetAllTickets retrieves tickets from all entities.
type TicketChecker interface {
Check(plateType, plateNumber string) ([]Ticket, error)
}
TicketChecker is the interface that all checkers must implement.
Tickets represents all collected tickets
VillaNueva implementation.
Check retrieves all tickes and aditional information.
Source Files
¶
Directories
¶
cmd
|
|
|
|
entities
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.