Miscellanous compliance fixes #62
Annotations
1 error and 2 warnings
coverage
Error: Command failed with exit code 1: go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./...
go: downloading github.com/alexflint/go-arg v1.4.3
go: downloading go.opentelemetry.io/otel v1.14.0
go: downloading go.opentelemetry.io/otel/exporters/prometheus v0.37.0
go: downloading go.opentelemetry.io/otel/metric v0.37.0
go: downloading go.opentelemetry.io/otel/sdk v1.14.0
go: downloading go.opentelemetry.io/otel/sdk/metric v0.37.0
go: downloading github.com/dave/dst v0.27.2
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading golang.org/x/exp v0.0.0-20230223210539-50820d90acfd
go: downloading github.com/stretchr/testify v1.8.2
go: downloading github.com/prometheus/client_golang v1.14.0
go: downloading github.com/alexflint/go-scalar v1.1.0
go: downloading github.com/prometheus/client_model v0.3.0
go: downloading google.golang.org/protobuf v1.28.1
go: downloading golang.org/x/tools v0.2.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/prometheus/common v0.37.0
go: downloading github.com/prometheus/procfs v0.8.0
go: downloading github.com/go-logr/logr v1.2.3
go: downloading go.opentelemetry.io/otel/trace v1.14.0
go: downloading github.com/go-logr/stdr v1.2.2
go: downloading golang.org/x/sys v0.5.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369
go: downloading golang.org/x/mod v0.6.0
# github.com/autometrics-dev/autometrics-go/prometheus/autometrics
prometheus/autometrics/instrument.go:6:2: "fmt" imported and not used
# github.com/autometrics-dev/autometrics-go/otel/autometrics
otel/autometrics/instrument.go:5:2: "fmt" imported and not used
? github.com/autometrics-dev/autometrics-go/internal/build [no test files]
FAIL github.com/autometrics-dev/autometrics-go/internal/generate [build failed]
? github.com/autometrics-dev/autometrics-go/pkg/autometrics [no test files]
? github.com/autometrics-dev/autometrics-go/pkg/midhttp [no test files]
FAIL
|
coverage
Failed to run git fetch origin +refs/notes/gocoverage:refs/notes/gocoverage
|
coverage
Failed to run go test -covermode count -coverprofile /home/runner/work/_temp/go.cov -coverpkg ./... ./...
|