mirror of
https://github.com/pushbits/server.git
synced 2025-05-31 09:46:41 +02:00
Add misspell, gocritic, and revive
This commit is contained in:
parent
5e640800fe
commit
2c20e42a21
30 changed files with 79 additions and 43 deletions
|
@ -11,7 +11,7 @@ const (
|
|||
minRandomChars = 14
|
||||
)
|
||||
|
||||
func isGoodToken(assert *assert.Assertions, require *require.Assertions, token string, compat bool) {
|
||||
func isGoodToken(assert *assert.Assertions, _ *require.Assertions, token string, compat bool) {
|
||||
tokenLength := len(token)
|
||||
|
||||
if compat {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue