This website works better with JavaScript.
Home
Explore
Help
Sign In
go_rely_warehouse
/
zyos_go_pay
Watch
4
Star
1
Fork
0
Code
Issues
0
Releases
67
Wiki
Activity
Browse Source
update
tags/v0.2.1
DengBiao
2 years ago
parent
7e8fc783e8
commit
460c3f0891
3 changed files
with
2 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
.gitignore
+1
-1
pay/init.go
+1
-1
pay/pay_test.go
+ 0
- 1
.gitignore
View File
@@ -40,6 +40,5 @@ nginx.conf
.devcontainer/Dockerfile
.devcontainer/sources.list
/t1.go
/tmp/*
.idea/*
/.idea/modules.xml
+ 1
- 1
pay/init.go
View File
@@ -26,7 +26,7 @@ func Init(host, name, user, psw string) error {
cfg.MaxLifetime = 30
cfg.MaxOpenConns = 100
cfg.MaxIdleConns = 100
cfg.Path = "
logs
/%s.log"
cfg.Path = "
tmp
/%s.log"
if err := db.InitDB(&cfg); err != nil {
return err
}
+ 1
- 1
pay/pay_test.go
View File
@@ -13,5 +13,5 @@ func TestPay(t *testing.T) {
if err != nil {
t.Errorf("Reverse == %s", err)
}
t.Log(channel.
Name
)
t.Log(channel.
Identifier
)
}
Write
Preview
Loading…
Cancel
Save