Oleksandr Redko
|
934f04e330
|
Refactor golangci-lint config and remove redundant nolints (#1486)
* Refactor golangci-lint config
- Use golangci-lint-action for GitHub workflow.
- Add additional golangci-lint run options.
- Remove unused nolint directives.
* Revert exclude-use-default option
|
2023-02-11 15:35:15 +08:00 |
|
Aoang
|
f3bce3aa6e
|
Add Go 1.18 support (#1253)
* Add Go 1.18 support
* fix Gosec Security Scanner
https://github.com/valyala/fasthttp/runs/5595618634?check_suite_focus=true
* fix https://github.com/securego/gosec/issues/469#issuecomment-1070608395 Gosec Github Action Doesn't Work at Go 1.18
* fix https://github.com/golangci/golangci-lint/pull/2438 golangci/golangci-lint Doesn't Work at Go 1.18
* fix golint unused
* fix golint: SA1019: netErr.Temporary is deprecated
* fix https://github.com/valyala/fasthttp/issues/1256
|
2022-03-20 14:34:31 +01:00 |
|
Erik Dubbelboer
|
32793db72d
|
Run golangci-lint using a Github Action
|
2019-11-16 18:09:28 +01:00 |
|
dgrr
|
e9eca1e4a0
|
noCopy didn't implement sync.Locker well. L letter of Unlock must be lower case
|
2018-11-14 07:33:18 +05:30 |
|
Jiajun Huang
|
9d6d9b7cd5
|
fix go vet do not work on noCopy
|
2018-11-13 23:03:30 +05:30 |
|
Aliaksandr Valialkin
|
9f43aa1601
|
Do not expose noCopy.Lock
|
2016-03-04 21:20:52 +02:00 |
|
Aliaksandr Valialkin
|
9fa69c74af
|
Embed noCopy struct into structs, which mustn't be copied
This should help `go vet` detecting invalid structs' copyings.
See https://github.com/golang/go/issues/8005#issuecomment-190753527 for details.
|
2016-03-04 16:57:24 +02:00 |
|