Skip to content

✨ feat: support convert float string to int (#180) #771

✨ feat: support convert float string to int (#180)

✨ feat: support convert float string to int (#180) #771

Triggered via push July 2, 2024 07:08
Status Success
Total duration 2m 31s
Artifacts

go.yml

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

Annotations

2 errors and 8 warnings
[staticcheck] envutil/envutil_test.go#L102 <SA5012>(https://staticcheck.io/docs/checks#SA5012): envutil/envutil_test.go#L102
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Test on go 1.20 and ubuntu-latest: envutil/envutil_test.go#L79
parameter 'eVal' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
Test on go 1.20 and ubuntu-latest: strutil/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
Test on go 1.20 and ubuntu-latest: check.go#L29
comment on exported var IsZeroReal should be of the form "IsZeroReal ..."
Test on go 1.20 and ubuntu-latest: structs/tags.go#L227
parameter 'field' seems to be unused, consider removing or renaming it as _
Test on go 1.20 and ubuntu-latest: structs/init.go#L190
if block ends with a return statement, so drop this else and outdent its block
Test on go 1.20 and ubuntu-latest: sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
Test on go 1.20 and ubuntu-latest: structs/init.go#L182
don't use underscores in Go names; var cleaned_var should be cleanedVar