Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-common
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-common
Commits
21335d2f
You need to sign in or sign up before continuing.
Commit
21335d2f
authored
Feb 07, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:改一下go mod
parent
b2576d93
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
19 deletions
+18
-19
go.mod
go.mod
+1
-1
group_power_india.go
script/group_power_india.go
+2
-2
prod_game_robot.go
script/prod_game_robot.go
+2
-2
sync_group_code.go
script/sync_group_code.go
+2
-2
test_20_in_mic.go
script/test_20_in_mic.go
+3
-3
test_fruit_machine.go
script/test_fruit_machine.go
+3
-3
test_game_robot.go
script/test_game_robot.go
+2
-2
user_charge.go
script/user_charge.go
+1
-1
utils_test.go
utils/utils_test.go
+2
-3
No files found.
go.mod
View file @
21335d2f
module git
hub.com
/hilo-common
module git
.hilo.cn
/hilo-common
go 1.17
...
...
script/group_power_india.go
View file @
21335d2f
...
...
@@ -2,8 +2,8 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
"github.com/spf13/cast"
"github.com/tealeg/xlsx"
"time"
...
...
script/prod_game_robot.go
View file @
21335d2f
...
...
@@ -2,8 +2,8 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
uuid
"github.com/satori/go.uuid"
"strings"
)
...
...
script/sync_group_code.go
View file @
21335d2f
...
...
@@ -2,8 +2,8 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
"time"
)
...
...
script/test_20_in_mic.go
View file @
21335d2f
...
...
@@ -2,9 +2,9 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
hub.com
/hilo-common/utils/jwt"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/utils/jwt"
"net/http"
"strings"
"time"
...
...
script/test_fruit_machine.go
View file @
21335d2f
...
...
@@ -2,9 +2,9 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
hub.com
/hilo-common/utils/jwt"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/utils/jwt"
"io/ioutil"
"math/rand"
"net/http"
...
...
script/test_game_robot.go
View file @
21335d2f
package
main
import
(
"git
hub.com
/hilo-common/model"
"git
hub.com
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/model"
"git
.hilo.cn
/hilo-common/mysql"
)
func
main
()
{
...
...
script/user_charge.go
View file @
21335d2f
...
...
@@ -2,7 +2,7 @@ package main
import
(
"fmt"
"git
hub.com
/hilo-common/mysql"
"git
.hilo.cn
/hilo-common/mysql"
"time"
)
...
...
utils/utils_test.go
View file @
21335d2f
package
utils
import
(
"git
hub.com
/hilo-common/utils/jwt"
"git
.hilo.cn
/hilo-common/utils/jwt"
"testing"
"time"
)
func
TestTestCommon
(
t
*
testing
.
T
)
{
t
.
Logf
(
time
.
Date
(
2022
,
time
.
November
,
1
,
0
,
0
,
0
,
0
,
time
.
Local
)
.
String
()
)
TestCommon
(
)
}
func
TestJwt
(
t
*
testing
.
T
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment