fix taskfile
This commit is contained in:
parent
daa234acac
commit
47faa574ac
1
.gitignore
vendored
1
.gitignore
vendored
@ -160,3 +160,4 @@ fabric.properties
|
|||||||
|
|
||||||
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,goland,go
|
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,goland,go
|
||||||
/recover.bolt
|
/recover.bolt
|
||||||
|
main
|
||||||
|
@ -3,8 +3,8 @@ version: "3"
|
|||||||
tasks:
|
tasks:
|
||||||
update-linter:
|
update-linter:
|
||||||
cmds:
|
cmds:
|
||||||
- go get -u penahub.gitlab.yandexcloud.net/devops/linters/golang.git
|
- go get -u gitea.pena/PenaSide/linters-golang
|
||||||
lint:
|
lint:
|
||||||
cmds:
|
cmds:
|
||||||
- task: update-linter
|
- task: update-linter
|
||||||
- cmd: golangci-lint run -v -c $(go list -f '{{"{{"}}.Dir{{"}}"}}' -m penahub.gitlab.yandexcloud.net/devops/linters/golang.git)/.golangci.yml
|
- cmd: golangci-lint run -v -c $(go list -f '{{"{{"}}.Dir{{"}}"}}' -m gitea.pena/PenaSide/linters-golang)/.golangci.yml
|
||||||
|
@ -2,7 +2,6 @@ package client
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"gitea.pena/PenaSide/codeword/internal/models"
|
"gitea.pena/PenaSide/codeword/internal/models"
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
|
Loading…
Reference in New Issue
Block a user