Skip to content

✨ feat: netutil - add new util func ParseAccept() for parse … #561

✨ feat: netutil - add new util func ParseAccept() for parse …

✨ feat: netutil - add new util func ParseAccept() for parse … #561

Triggered via push June 27, 2023 09:02
Status Success
Total duration 2m 13s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Test on go 1.20 and ubuntu-latest: netutil/httpheader/header.go#L1
should have a package comment
Test on go 1.20 and ubuntu-latest: netutil/httpctype/content_type.go#L4
exported const Key should have comment or be unexported
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L19
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: testutil/assert/assertions_methods.go#L3
exported method Assertions.Nil should have comment or be unexported
Test on go 1.20 and ubuntu-latest: testutil/fakeobj/fs.go#L98
exported method FileInfo.Stat should have comment or be unexported
Test on go 1.20 and ubuntu-latest: dump/dumper_test.go#L157
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: maputil/format.go#L95
don't use leading k in Go names; var kStr should be str
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L45
func NewHttpRequest should be NewHTTPRequest
Test on go 1.20 and ubuntu-latest: dump/dump_test.go#L238
parameter 't' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: strutil/textscan/tokens.go#L137
parameter 'ts' seems to be unused, consider removing or renaming it as _