1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Delete bloat

Former-commit-id: 366d6d4299f6b873937fbf4eb539e1837f053b3d [formerly aed4d69ccca3351ff0a6ad7e1a8459b2f9644041] [formerly 7a2d10add93e5f62b7cab38f4f6af8c2b30465ff [formerly a6da2b4a4d]]
Former-commit-id: 8cc271f57f0b37196c6542bd3f4a6efe3170c2ba [formerly e1e606dcb6126e9048c2c5fa5185c65b8ea755a8]
Former-commit-id: 1f9fc804c56de040f946cd7506825e191e8aeba1
This commit is contained in:
Zack Scholl
2017-03-22 13:03:00 -06:00
parent b4fecbfaa2
commit 5a3007d014
72 changed files with 56 additions and 4684 deletions

View File

@ -5,7 +5,6 @@ import (
"encoding/base32"
"encoding/binary"
"encoding/hex"
"io/ioutil"
"math/rand"
"net"
"os"
@ -29,9 +28,9 @@ var log *lumber.ConsoleLogger
func init() {
rand.Seed(time.Now().Unix())
animalsText, _ := ioutil.ReadFile("./static/text/animals")
animalsText, _ := Asset("static/text/animals")
animals = strings.Split(string(animalsText), ",")
adjectivesText, _ := ioutil.ReadFile("./static/text/adjectives")
adjectivesText, _ := Asset("static/text/adjectives")
adjectives = strings.Split(string(adjectivesText), "\n")
log = lumber.NewConsoleLogger(lumber.TRACE)
}