Commit 21335d2f authored by hujiebin's avatar hujiebin

feat:改一下go mod

parent b2576d93
module github.com/hilo-common module git.hilo.cn/hilo-common
go 1.17 go 1.17
......
...@@ -2,8 +2,8 @@ package main ...@@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
"github.com/spf13/cast" "github.com/spf13/cast"
"github.com/tealeg/xlsx" "github.com/tealeg/xlsx"
"time" "time"
......
...@@ -2,8 +2,8 @@ package main ...@@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
uuid "github.com/satori/go.uuid" uuid "github.com/satori/go.uuid"
"strings" "strings"
) )
......
...@@ -2,8 +2,8 @@ package main ...@@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
"time" "time"
) )
......
...@@ -2,9 +2,9 @@ package main ...@@ -2,9 +2,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
"github.com/hilo-common/utils/jwt" "git.hilo.cn/hilo-common/utils/jwt"
"net/http" "net/http"
"strings" "strings"
"time" "time"
......
...@@ -2,9 +2,9 @@ package main ...@@ -2,9 +2,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
"github.com/hilo-common/utils/jwt" "git.hilo.cn/hilo-common/utils/jwt"
"io/ioutil" "io/ioutil"
"math/rand" "math/rand"
"net/http" "net/http"
......
package main package main
import ( import (
"github.com/hilo-common/model" "git.hilo.cn/hilo-common/model"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
) )
func main() { func main() {
......
...@@ -2,7 +2,7 @@ package main ...@@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/hilo-common/mysql" "git.hilo.cn/hilo-common/mysql"
"time" "time"
) )
......
package utils package utils
import ( import (
"github.com/hilo-common/utils/jwt" "git.hilo.cn/hilo-common/utils/jwt"
"testing" "testing"
"time"
) )
func TestTestCommon(t *testing.T) { 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) { func TestJwt(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment