fix golint
This commit is contained in:
parent
d6473d617f
commit
b10b979c7e
|
@ -0,0 +1,11 @@
|
||||||
|
module code.30cm.net/digimon/library-go
|
||||||
|
|
||||||
|
go 1.22.3
|
||||||
|
|
||||||
|
require github.com/stretchr/testify v1.9.0
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
|
)
|
2
go.work
2
go.work
|
@ -5,4 +5,6 @@ use (
|
||||||
./worker_pool
|
./worker_pool
|
||||||
./jwt
|
./jwt
|
||||||
./errs
|
./errs
|
||||||
|
.
|
||||||
|
./utils/invited_code
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
package invited_code
|
package invited_code
|
||||||
|
|
||||||
const DefaultCodeLen = 8
|
const (
|
||||||
|
DefaultCodeLen = 8
|
||||||
|
InitAutoId = 10000000
|
||||||
|
)
|
||||||
|
|
||||||
var ConvertTable = []string{
|
var ConvertTable = []string{
|
||||||
"O", "D", "W", "X", "Y",
|
"O", "D", "W", "X", "Y",
|
||||||
|
|
Loading…
Reference in New Issue