mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-09 21:38:08 -06:00
[chore] refactor test/cliparsing.sh into a go test below internal/config (#1036)
Also adds AddGlobalFlags and AddServerFlags as methods on ConfigState, very useful for testing.
This commit is contained in:
parent
52109776f6
commit
1f256e288b
9 changed files with 222 additions and 126 deletions
2
go.mod
2
go.mod
|
|
@ -55,6 +55,7 @@ require (
|
|||
golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783
|
||||
golang.org/x/text v0.4.0
|
||||
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
modernc.org/sqlite v1.18.2
|
||||
mvdan.cc/xurls/v2 v2.4.0
|
||||
)
|
||||
|
|
@ -142,7 +143,6 @@ require (
|
|||
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
lukechampine.com/uint128 v1.2.0 // indirect
|
||||
modernc.org/cc/v3 v3.38.1 // indirect
|
||||
modernc.org/ccgo/v3 v3.16.9 // indirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue