Update convert.go #362
Annotations
10 errors and 1 warning
golangci:
datatable.go#L1372
S1011: should replace loop with `dls = append(dls, dt.columns...)` (gosimple)
|
golangci:
datalist_test.go#L21
S1023: redundant `return` statement (gosimple)
|
golangci:
datatable_test.go#L9
S1023: redundant `return` statement (gosimple)
|
golangci:
datalist.go#L1031
SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
|
golangci:
lpgen/lpgen.go#L100
Error return value of `file.WriteString` is not checked (errcheck)
|
golangci:
lpgen/lpgen.go#L111
Error return value of `file.WriteString` is not checked (errcheck)
|
golangci:
lpgen/lpgen.go#L122
Error return value of `file.WriteString` is not checked (errcheck)
|
golangci:
lp/init.go#L273
Error return value of `filepath.Walk` is not checked (errcheck)
|
golangci:
lp/init.go#L373
Error return value of `os.MkdirAll` is not checked (errcheck)
|
golangci:
lp/lp.go#L258
S1011: should replace loop with `warnings = append(warnings, matches...)` (gosimple)
|
golangci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|