Documentation
¶
Index ¶
- Constants
- func CountyHasHits(id int) (bool, error)
- func DbSanitize(input string) string
- func GetAdjacentWithHits(state, county string) ([]string, error)
- func GetCounties(state string) ([]app.Region, error)
- func GetCountyById(id int) (app.USCounty, error)
- func GetCurrentResidence() (string, error)
- func GetFRBFromSerial(serial string) string
- func GetFirstHits(regionType string) ([]app.Hit, error)
- func GetHits(whereGroupOrder string) ([]app.Hit, error)
- func GetHomeRegion(regionColumn string) string
- func GetPrefs() ([]app.UserPrefs, error)
- func GetResidences() ([]string, error)
- func GetSerialSeries(serial_in, series_in string, denom int) (string, string, error)
- func GetStateCountyCityFromZIP(zip string) (string, string, string, error)
- func GetStates(country string) ([]string, error)
- func GetTZList() ([]app.TZRec, error)
- func PrepMonthEnts() (*sql.Stmt, error)
- func SetTimeZone(tz_in string) error
- func StatsData(returnType string) interface{}
Constants ¶
View Source
const ( Q_REGIONS = ` select distinct %s %s from %s order by %s ` Q_HOME_REGION = ` select %s from counties_master cm, residences r where r.label = '_all' and r.home = cm.id ` Q_RESLIST = ` select label from residences where label <> '_all' order by label ` Q_CURRENT_RESIDENCE = `` /* 145-byte string literal not displayed */ DATE_LIST_LAYOUT = `2006-01-02` STATS_START_YEAR = 2003 STATS_START_MONTH = time.November )
Variables ¶
This section is empty.
Functions ¶
func CountyHasHits ¶
func DbSanitize ¶
func GetAdjacentWithHits ¶
func GetCurrentResidence ¶
func GetFRBFromSerial ¶
func GetHomeRegion ¶
func GetResidences ¶
func GetSerialSeries ¶
func PrepMonthEnts ¶
func SetTimeZone ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.