1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Alberto Bertogli
b4c8244e48 modules: Update blitiri.com.ar/go/spf to v1.1.0
This patch updates the modules to blitiri.com.ar/go/spf v1.1.0.

There are no significant changes, but it's the first version which
includes go modules.
2020-05-22 22:41:39 +01:00
Alberto Bertogli
0f686399b6 modules: Update blitiri.com.ar/go/log to v1.1.0
This patch updates the modules to blitiri.com.ar/go/log v1.1.0.

That version includes new APIs we will rely on in subsequent patches.
They are experimental but it should be fine for our case, and we can
adjust if they change.
2020-05-22 20:08:14 +01:00
Alberto Bertogli
aacd50e87a modules: Update Go module versions
This patch updates the Go module versions to the latest available.
2020-05-22 12:59:29 +01:00
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
Alberto Bertogli
50986a7b7e Update protobuf library to v2
There is a new protobuf library (and corresponding code generator) for
Go: google.golang.org/protobuf.

It is fairly compatible with the previous v1 API
(github.com/golang/protobuf), but there are some changes.

This patch adjusts the code and generated files to the new API.

The on-wire/on-disk format remains unchanged so this should be
transparent to the users.
2020-05-16 10:12:51 +01:00
Alberto Bertogli
35c2d1d485 modules: Update go module versions
This patch updates the Go module versions to the latest available.
2020-03-27 08:55:34 +00:00
Thor77
80b4f7f832 Add support for go modules 2019-10-19 00:45:18 +01:00