remove unused randomCutePhrase
Jes Olson j3s@c3f.net
Thu, 25 May 2023 16:50:35 -0700
1 files changed,
0 insertions(+),
10 deletions(-)
jump to
M
site.go
→
site.go
@@ -5,7 +5,6 @@ "errors"
"fmt" "io/ioutil" "log" - "math/rand" "net/http" "net/url" "os"@@ -432,12 +431,3 @@ s.renderErr(w, r.Method, http.StatusMethodNotAllowed)
} return allowed } - -func (s *Site) randomCutePhrase() string { - phrases := []string{ - "devouring feeds since 2023", - "a no-bullshit feed reader", - } - i := rand.Intn(len(phrases)) - return phrases[i] -}