1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-10 18:05:57 +00:00
Files
go-chasquid-smtp/internal
Alberto Bertogli 7909b479eb config: Tidy default handling and comparisons in tests
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.
2020-05-16 23:48:09 +01:00
..
2019-10-24 21:37:09 +01:00
2019-02-10 12:46:15 +00:00
2020-05-16 10:12:51 +01:00
2018-03-30 22:35:08 +01:00
2020-05-16 10:12:51 +01:00
2020-05-16 10:12:51 +01:00
2019-12-01 17:25:25 +00:00
2020-04-12 11:25:27 +01:00
2020-05-16 10:12:51 +01:00