First draft of a configurable enhancer endpoint

5 jobs for 260-enhance-endpoint in 2 minutes and 24 seconds (queued for 2 seconds)
Name Stage Failure
failed
lint Lint
serve/apiv2/advanced_widget.go:237:19: response body must be closed (bodyclose)
res, err := c.Get("https://api.geolinker.histhub.ch/v2/sameas/" + url)
^
serve/apiv2/advanced_widget.go:254:6: ST1003: type geolinkerJson should be geolinkerJSON (stylecheck)
type geolinkerJson struct {
^
make: *** [Makefile:48: lint] Error 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 2

failed
check_license Lint
go get: added github.com/nokia/addlicense v0.0.0-20210907120710-c2fde61a9801
$ make license
/go/bin/addlicense -config addlicense.yaml -check ./
2022/05/12 15:21:07 Target: /builds/metagrid-go/metagrid-go
2022/05/12 15:21:07 Using configuration: /builds/metagrid-go/metagrid-go/addlicense.yaml
serve/apiv2/advanced_widget.go
make: *** [Makefile:45: license] Error 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 2