Documentation ¶ Index ¶ Variables func BasicCheck(c *gin.Context) (*model.GetInfo, error) func InitDB() func QueryDorm(form *model.GetInfo) (*model.Dorm, error) func QueryInfo(form *model.GetInfo) (*model.Info, error) func ReadInfo(path string, passwd string, sheet string, update bool) Constants ¶ This section is empty. Variables ¶ View Source var NotAvailable = errors.New("no available data yet") Functions ¶ func BasicCheck ¶ func BasicCheck(c *gin.Context) (*model.GetInfo, error) BasicCheck check if 'POST' query valid func InitDB ¶ func InitDB() func QueryDorm ¶ func QueryDorm(form *model.GetInfo) (*model.Dorm, error) func QueryInfo ¶ func QueryInfo(form *model.GetInfo) (*model.Info, error) func ReadInfo ¶ func ReadInfo(path string, passwd string, sheet string, update bool) Types ¶ This section is empty. Source Files ¶ View all Source files init_db.go query_record.go read_excel.go request_check.go Click to show internal directories. Click to hide internal directories.