diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-05 18:40:51 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-05 18:41:14 +0800 |
commit | 147265e10c65f80f9d1a8b9520b55dad61cb7177 (patch) | |
tree | 94f8cbb01e1017a699675fcfdc43e48af5beae3f | |
parent | Move FirstOrPanic into this module (diff) | |
download | forge-147265e10c65f80f9d1a8b9520b55dad61cb7177.tar.gz forge-147265e10c65f80f9d1a8b9520b55dad61cb7177.tar.zst forge-147265e10c65f80f9d1a8b9520b55dad61cb7177.zip |
Switch to upstream scfg for now
-rw-r--r-- | config.go | 2 | ||||
-rw-r--r-- | go.mod | 3 | ||||
-rw-r--r-- | go.sum | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -9,8 +9,8 @@ import ( "errors" "os" + "codeberg.org/emersion/go-scfg" "github.com/jackc/pgx/v5/pgxpool" - "go.lindenii.runxiyu.org/lindenii-common/scfg" ) // config holds the global configuration used by this instance. There is @@ -3,6 +3,7 @@ module go.lindenii.runxiyu.org/forge go 1.24.1 require ( + codeberg.org/emersion/go-scfg v0.1.0 git.sr.ht/~sircmpwn/go-bare v0.0.0-20210406120253-ab86bc2846d9 github.com/alecthomas/chroma/v2 v2.16.0 github.com/alexedwards/argon2id v1.0.0 @@ -11,7 +12,7 @@ require ( github.com/emersion/go-message v0.18.2 github.com/emersion/go-smtp v0.21.3 github.com/gliderlabs/ssh v0.3.8 - github.com/go-git/go-git/v5 v5.14.0 // has too many deps :( + github.com/go-git/go-git/v5 v5.14.0 github.com/jackc/pgx/v5 v5.7.4 github.com/microcosm-cc/bluemonday v1.0.27 github.com/niklasfasching/go-org v1.7.0 @@ -1,3 +1,5 @@ +codeberg.org/emersion/go-scfg v0.1.0 h1:6dnGU0ZI4gX+O5rMjwhoaySItzHG710eXL5TIQKl+uM= +codeberg.org/emersion/go-scfg v0.1.0/go.mod h1:0nooW1ufBB4SlJEdTtiVN9Or+bnNM1icOkQ6Tbrq6O0= dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= git.sr.ht/~sircmpwn/getopt v0.0.0-20191230200459-23622cc906b3/go.mod h1:wMEGFFFNuPos7vHmWXfszqImLppbc0wEhh6JBfJIUgw= |