mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-23 15:37:01 +00:00
This patch tidies how defaults are handled in the config, using a new logic to allow "overriding" one config (the default) with another (the user supplied). It also improves how the comparisons are done in the tests, using the more convenient "github.com/google/go-cmp/cmp" package, which also prints nice diffs on errors. This is in preparation for a future path where the override mechanism will be reused.
18 lines
574 B
Modula-2
18 lines
574 B
Modula-2
module blitiri.com.ar/go/chasquid
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
blitiri.com.ar/go/log v0.0.0-20171003035348-6cd06f6ca2f8
|
|
blitiri.com.ar/go/spf v0.0.0-20191018194539-a683815bdae8
|
|
blitiri.com.ar/go/systemd v0.0.0-20171003041308-cdc4fd023aa4
|
|
github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
|
|
github.com/golang/protobuf v1.4.0
|
|
github.com/google/go-cmp v0.4.0
|
|
golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59
|
|
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e
|
|
golang.org/x/text v0.3.2
|
|
google.golang.org/protobuf v1.23.0
|
|
gopkg.in/yaml.v2 v2.2.4 // indirect
|
|
)
|