diff options
author | EuAndreh <eu@euandre.org> | 2024-05-23 10:53:49 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-05-23 10:54:59 -0300 |
commit | c6c1d2ea4dbf7f4a1be2f221e36c65799f5d0675 (patch) | |
tree | 580c14b9b58a26d72eb9e7f582585ac80b33e879 /src/lib.go | |
parent | tests/lib_test.go: Group input/expected into "tuples" (diff) | |
download | papod-c6c1d2ea4dbf7f4a1be2f221e36c65799f5d0675.tar.gz papod-c6c1d2ea4dbf7f4a1be2f221e36c65799f5d0675.tar.xz |
Rename leftover references of "papo" -> "papod"
Diffstat (limited to 'src/lib.go')
-rw-r--r-- | src/lib.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ -package papo +package papod import ( "bufio" @@ -259,14 +259,14 @@ func SetHostname() { } func SetEnvironmentVariables() { - Version = os.Getenv("PAPO_VERSION") + Version = os.Getenv("PAPOD_VERSION") if Version == "" { - Version = "PAPO-VERSION-UNKNOWN" + Version = "PAPOD-VERSION-UNKNOWN" } - Colour = os.Getenv("PAPO_COLOUR") + Colour = os.Getenv("PAPOD_COLOUR") if Colour == "" { - Colour = "PAPO-COLOUR-UNKNOWN" + Colour = "PAPOD-COLOUR-UNKNOWN" } } @@ -324,17 +324,17 @@ func BuildContext(databasePath string) *Context { var ( databasePath = flag.String( "f", - "papo.db", + "papod.db", "The path to the database file", ) publicSocketPath = flag.String( "s", - "papo.public.socket", + "papod.public.socket", "The path to the socket that handles the public traffic", ) commandSocketPath = flag.String( "S", - "papo.command.socket", + "papod.command.socket", "The path to the private IPC commands socket", ) ) |