aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-09 01:53:06 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-09 01:53:06 +0800
commit5af62e009dc271ea5e7271e99bf1e2bdd5ec8965 (patch)
tree838fad1dddc776dbc854f5fc7a938d40427f8937 /config.go
parentNOTES.md: Remove (diff)
downloadforge-5af62e009dc271ea5e7271e99bf1e2bdd5ec8965.tar.gz
forge-5af62e009dc271ea5e7271e99bf1e2bdd5ec8965.tar.zst
forge-5af62e009dc271ea5e7271e99bf1e2bdd5ec8965.zip
*: Add basic repo home with a README and recent commits display
Diffstat (limited to '')
-rw-r--r--config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.go b/config.go
index a38fd25..6261eb2 100644
--- a/config.go
+++ b/config.go
@@ -12,6 +12,9 @@ var config struct {
Net string `scfg:"net"`
Addr string `scfg:"addr"`
} `scfg:"http"`
+ Git struct {
+ Root string `scfg:"root"`
+ } `scfg:"git"`
DB struct {
Type string `scfg:"type"`
Conn string `scfg:"conn"`