Documentation ¶
Index ¶
- Constants
- func CreateTable(client *sql.DB) error
- func Day2DayStr(d int8) string
- func DropTable(client *sql.DB) error
- func GenerateSearchCmd(form map[string][]string) (string, error)
- func HexToString(s string) string
- func LevelToStr(FromLevel, ToLevel int8) (LevelStr string)
- func StringToHex(s string) string
- func ToStoreSQLCmd(data Data) string
- func UploadDataToDatabase(client *sql.DB, filePath string) error
- func UploadToSQL(client *sql.DB, data Data) error
- type Data
- type Location
Constants ¶
View Source
const ( UpdatedCol = 0 AddressCol = 5 //d )
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func Day2DayStr ¶
func HexToString ¶
func LevelToStr ¶
func StringToHex ¶
func ToStoreSQLCmd ¶
Types ¶
type Data ¶
type Data struct { UID int Name string Day int8 Daystr string StartTime int16 EndTime int16 CourtName string Address string FromLevel int8 ToLevel int8 LevelStr string CourtCount int8 CourtCountStr string FeeM int16 FeeMStr string FeeF int16 FeeFStr string MinBallType string Note string Location Location }
Click to show internal directories.
Click to hide internal directories.