added comments, updated go.mod to reflect new repo
This commit is contained in:
@@ -22,6 +22,8 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
// Loads the api key from a local file given by path.
|
||||
// This api key is used to make admins.
|
||||
func LoadApiKey(path string) string {
|
||||
file, err := os.Open(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user