Remove debugging prints
This commit is contained in:
parent
a10bfd175e
commit
e27d244f9c
1
main.go
1
main.go
@ -261,7 +261,6 @@ func InitPageData(w http.ResponseWriter, req *http.Request) *pageData {
|
||||
if p.FlashClass == "" {
|
||||
p.FlashClass = "hidden"
|
||||
}
|
||||
fmt.Println("Flash Message: " + p.FlashMessage + " (" + p.FlashClass + ")")
|
||||
|
||||
// Build the menu
|
||||
if p.LoggedIn {
|
||||
|
@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"net/http"
|
||||
"strings"
|
||||
@ -37,7 +36,6 @@ func loadVotingPage(w http.ResponseWriter, req *http.Request) {
|
||||
rand.Seed(time.Now().Unix())
|
||||
for len(tms) > 0 {
|
||||
i := rand.Intn(len(tms))
|
||||
fmt.Println("Chose Team: " + tms[i].Name)
|
||||
vpd.Teams = append(vpd.Teams, tms[i])
|
||||
tms = append(tms[:i], tms[i+1:]...)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user