Vincent Bernat
e2f1df9add
tests: replace godebug by go-cmp for structure diffs
...
go-cmp is stricter and allow to catch more problems. Moreover, the
output is a bit nicer.
2025-08-23 16:03:09 +02:00
Vincent Bernat
985e678e42
chore: replace map[string]interface{} by gin.H
2022-08-16 19:43:28 +02:00
Vincent Bernat
78fb01c223
chore: fix some small issues detected by golangci-lint
...
But not using it as some linters are either plain incorrect (the one
suggesting to not use nil for `c.t.Context()`) or just
debatable (checking for err value is a good practice, but there are
good reasons to opt out in some cases).
2022-08-10 17:44:32 +02:00
Vincent Bernat
8be1bca4fd
license: AGPL-3.0-only
...
```
git ls-files \*.js \*.go \
| xargs sed -i '1i // SPDX-FileCopyrightText: 2022 Free Mobile\n// SPDX-License-Identifier: AGPL-3.0-only\n'
git ls-files \*.vue \
| xargs sed -i '1i <!-- SPDX-FileCopyrightText: 2022 Free Mobile -->\n<!-- SPDX-License-Identifier: AGPL-3.0-only -->\n'
```
2022-06-29 11:42:28 +02:00
Vincent Bernat
f3ef532b34
common/reporter: use a struct to store multiple healthcheck results
2022-04-12 07:18:11 +02:00
Vincent Bernat
7ad7abb625
build: speed up linting and formatting
2022-04-11 08:13:21 +02:00
Vincent Bernat
50ca1987b2
http: use Gin web framework to reduce API boilerplate
2022-04-10 22:13:38 +02:00
Vincent Bernat
1dc253764d
global: split Akvorado into 3 services
2022-04-01 20:21:53 +02:00