aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorSamuel Johnson <[email protected]>2025-04-28 22:35:17 -0400
committerSamuel Johnson <[email protected]>2025-04-28 22:35:17 -0400
commit0b77727cdb52cb22ae55db5b747345c1d89a29d3 (patch)
tree385fba102ad2d8a9340834aea97b2c904372c6f5 /internal
parent9de239a9badbbc075f1cc8079a6435f0780e5d26 (diff)
Move to using .env file
Diffstat (limited to 'internal')
-rw-r--r--internal/environment.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/environment.go b/internal/environment.go
new file mode 100644
index 0000000..cbdd17c
--- /dev/null
+++ b/internal/environment.go
@@ -0,0 +1,13 @@
+package internal
+
+type DbCredentials struct {
+ Username string
+ Password string
+}
+
+type Environment struct {
+ Webmaster string
+ AppPort uint64
+
+ Db DbCredentials
+}