add workflow #7
Annotations
8 errors and 1 warning
lint:
global.go#L116
const `needCheckSize` is unused (unused)
|
lint:
global.go#L118
const `maxFileUploadSize` is unused (unused)
|
lint:
global.go#L120
const `maxImageUploadSize` is unused (unused)
|
lint:
user.go#L255
S1007: should use raw string (`...`) with regexp.MustCompile to avoid having to escape twice (gosimple)
|
lint:
parser.go#L77
unsafeptr: possible misuse of reflect.StringHeader (govet)
|
lint:
parser.go#L30
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:
client.go#L497
SA1013: the first argument of io.Seeker is the offset, but an io.Seek* constant is being used instead (staticcheck)
|
lint
Process completed with exit code 1.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|