beginning go port #44
Annotations
6 errors and 1 warning
lint:
pkg/markdown/convert.go#L37
Error return value of `w.Write` is not checked (errcheck)
|
lint:
pkg/futhorc/post.go#L117
var `blockSize` is unused (unused)
|
lint:
cmd/randmd/main.go#L19
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
lint:
cmd/randmd/main.go#L124
SA1019: rand.Read has been deprecated since Go 1.20 because it shouldn't be used: For almost all use cases, [crypto/rand.Read] is more appropriate. (staticcheck)
|
lint
issues found
|
build
Process completed with exit code 2.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|