Skip to content

updaate changes

updaate changes #32

Triggered via pull request February 10, 2024 14:09
Status Failure
Total duration 52s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: discord/commands.go#L1
: # github.com/kehiy/RoboPac/discord
lint: discord/commands.go#L125
syntax error: unexpected newline in composite literal; possibly missing comma or }
lint: discord/commands.go#L127
syntax error: unexpected ] after top level declaration
lint: discord/commands.go#L127
method has multiple receivers
lint: discord/commands.go#L128
syntax error: unexpected : at end of statement (typecheck)
lint: discord/commands.go#L125
missing ',' before newline in composite literal (typecheck)
lint: discord/commands.go#L127
expected operand, found 'var' (typecheck)
lint: discord/commands.go#L138
missing ',' before newline in composite literal (typecheck)
lint: cmd/discord/run.go#L9
could not import github.com/kehiy/RoboPac/discord (-: # github.com/kehiy/RoboPac/discord
lint: discord/commands.go#L125
syntax error: unexpected newline in composite literal; possibly missing comma or }
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.