Browse Source

Initial commit

tags/v0.0.1
go_rely_warehouse 1 month ago
commit
c2a7dd295b
5 changed files with 69 additions and 0 deletions
  1. +46
    -0
      .gitignore
  2. +0
    -0
     
  3. +0
    -0
     
  4. +5
    -0
      go.mod
  5. +18
    -0
      main.go

+ 46
- 0
.gitignore View File

@@ -0,0 +1,46 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
.idea
.vscode
*.log
.DS_Store
Thumbs.db
*.swp
*.swn
*.swo
*.swm
*.7z
*.zip
*.rar
*.tar
*.tar.gz
go.sum
/etc/cfg.yaml
images
test/test.json
etc/cfg.yml
t.json
t1.json
t2.json
t3.json
t.go
wait-for-it.sh
test.go
xorm
test.csv
nginx.conf
.devcontainer
.devcontainer/Dockerfile
.devcontainer/sources.list
/t1.go
/tmp/*
.idea/*
/.idea/modules.xml

+ 0
- 0
View File


+ 0
- 0
View File


+ 5
- 0
go.mod View File

@@ -0,0 +1,5 @@
module code.fnuoos.com/go_rely_warehouse/test.git

go 1.16

require code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git v0.2.1

+ 18
- 0
main.go View File

@@ -0,0 +1,18 @@
package main

import (
"code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git/pay"
"fmt"
)

func main() {
err := pay.Init("119.23.182.117:3306", "zyos_website", "root", "Fnuo123com@")
if err != nil {
fmt.Println(">>>>>>>>>>>>>>>", err)
}
channel, err := pay.JudgePayChannel("35618318", "mall")
if err != nil {
fmt.Println("<<<<<<<<<<<<<<<<", err)
}
fmt.Println(channel)
}

Loading…
Cancel
Save