From 872cdf45f39f2c2390b4ace5a598f9f0b71f8531 Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Tue, 9 Jun 2020 14:02:32 -0500 Subject: [PATCH] change to consistent naming scheme --- auth.go | 2 +- bunnybot.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth.go b/auth.go index cef3abd..e73a877 100644 --- a/auth.go +++ b/auth.go @@ -17,7 +17,7 @@ type Auth struct { } // build the auth struct -func buildAuth() { +func build_auth() { // read the auth json file json, err := ioutil.ReadFile("auth.json") if err != nil { diff --git a/bunnybot.go b/bunnybot.go index 6474581..e5d39ed 100644 --- a/bunnybot.go +++ b/bunnybot.go @@ -17,7 +17,7 @@ var ( func init() { // build the authentication struct - buildAuth() + build_auth() // build the redditbooru sources slice build_redditbooru_sources()