wups
Jesse Olson j3s@c3f.net
Sat, 16 Apr 2022 03:46:00 +0000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.go
→
main.go
@@ -89,7 +89,7 @@
var wordList []string wordList = append(wordList, "shit hell", "silly heart", "stupid head", "stingray herd", "sjkgksjdfg hjghjko", "server horror", "shrinking horizon", "sunday hat", "safe house", "/bin/sh haha", "simply hopeless", "*smiles heavily*", "sob hut") wordIndex := rand.Intn(len(wordList)) - data.Word = wordList[wordIndex] + data.TitleWord = wordList[wordIndex] err = tmpl.ExecuteTemplate(w, "layout", data) if err != nil {