package
0.0.0-20200220221547-2646333a7115
Repository: https://github.com/joincivil/civil-events-crawler.git
Documentation: pkg.go.dev

# Functions

CreateEventTableIndices returns the query to create this table.
CreateEventTableQuery returns the query to create this table.
CreateVersionTableQuery returns the query to create this table version and service_name are unique.
NewDbEventFromEvent constructs an event for DB from a model.event.

# Constants

EventTableBaseName is the type of table this code defines.
ExistsFieldName is the name for exists field in Version struct.
LastUpdatedTsFieldName is the name for last_updated_timestamp field in Version struct.
ServiceFieldName is the name for the service_name field in Version struct.
VersionFieldName is the name for the version field in Version struct.
VersionTableName is the table name for this model.

# Structs

Event is the model for events table in DB.
Version is the model for the version table in DB.