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
......
......@@ -2,8 +2,8 @@ package main
import (
"fmt"
"github.com/hilo-common/model"
"github.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"
......
......@@ -2,8 +2,8 @@ package main
import (
"fmt"
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"git.hilo.cn/hilo-common/model"
"git.hilo.cn/hilo-common/mysql"
uuid "github.com/satori/go.uuid"
"strings"
)
......
......@@ -2,8 +2,8 @@ package main
import (
"fmt"
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"git.hilo.cn/hilo-common/model"
"git.hilo.cn/hilo-common/mysql"
"time"
)
......
......@@ -2,9 +2,9 @@ package main
import (
"fmt"
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"github.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"
......
......@@ -2,9 +2,9 @@ package main
import (
"fmt"
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"github.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"
......
package main
import (
"github.com/hilo-common/model"
"github.com/hilo-common/mysql"
"git.hilo.cn/hilo-common/model"
"git.hilo.cn/hilo-common/mysql"
)
func main() {
......
......@@ -2,7 +2,7 @@ package main
import (
"fmt"
"github.com/hilo-common/mysql"
"git.hilo.cn/hilo-common/mysql"
"time"
)
......
package utils
import (
"github.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) {
......
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