Loading .gitignore +2 −1 Original line number Diff line number Diff line football_cms stats.db handlers/add.go +9 −1 Original line number Diff line number Diff line package handlers func handler_add(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" "strings" dbstr "../structs" ) func Handler_add(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading handlers/edit.go +8 −1 Original line number Diff line number Diff line package handlers func handler_edit(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" dbstr "../structs" ) func Handler_edit(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading handlers/edit_main.go +8 −1 Original line number Diff line number Diff line package handlers func handler_edit_main(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" "strconv" "strings" dbstr "../structs" ) func Handler_edit_main(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading handlers/end_match.go +7 −1 Original line number Diff line number Diff line package handlers func handler_end(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" dbstr "../structs" ) func Handler_end(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading Loading
handlers/add.go +9 −1 Original line number Diff line number Diff line package handlers func handler_add(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" "strings" dbstr "../structs" ) func Handler_add(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading
handlers/edit.go +8 −1 Original line number Diff line number Diff line package handlers func handler_edit(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" dbstr "../structs" ) func Handler_edit(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading
handlers/edit_main.go +8 −1 Original line number Diff line number Diff line package handlers func handler_edit_main(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" "strconv" "strings" dbstr "../structs" ) func Handler_edit_main(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading
handlers/end_match.go +7 −1 Original line number Diff line number Diff line package handlers func handler_end(ctx *macaron.Context) { import ( "gopkg.in/macaron.v1" dbstr "../structs" ) func Handler_end(ctx *macaron.Context) { var match dbstr.Match db.First(&match, "Active = ?", 1) if match.Active != 0 { Loading