diff --git a/example/boot/router.go b/example/boot/router.go index ffb0ef5..cc41d96 100644 --- a/example/boot/router.go +++ b/example/boot/router.go @@ -1,10 +1,10 @@ package boot import ( + "github.com/goflyfox/gtoken/gtoken" "github.com/gogf/gf/frame/g" "github.com/gogf/gf/net/ghttp" "github.com/gogf/gf/os/glog" - "gtoken/gtoken" ) /* diff --git a/example/main.go b/example/main.go index 6cfcaa8..2e447c4 100644 --- a/example/main.go +++ b/example/main.go @@ -1,8 +1,8 @@ package main import ( + _ "github.com/goflyfox/gtoken/example/boot" "github.com/gogf/gf/frame/g" - _ "gtoken/example/boot" ) func main() { diff --git a/example/test/api_test.go b/example/test/api_test.go index a5f6ecd..fc9f211 100644 --- a/example/test/api_test.go +++ b/example/test/api_test.go @@ -2,9 +2,9 @@ package test import ( "encoding/json" + "github.com/goflyfox/gtoken/gtoken" "github.com/gogf/gf/frame/g" "github.com/gogf/gf/net/ghttp" - "gtoken/gtoken" "testing" ) diff --git a/example/test/cache_test.go b/example/test/cache_test.go index ca4ce4d..d93f2aa 100644 --- a/example/test/cache_test.go +++ b/example/test/cache_test.go @@ -1,11 +1,11 @@ package test import ( + "github.com/goflyfox/gtoken/gtoken" "github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/frame/g" "github.com/gogf/gf/os/gcache" "github.com/gogf/gf/util/gconv" - "gtoken/gtoken" "testing" "time" ) diff --git a/go.mod b/go.mod index 70443d3..737aead 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gtoken +module github.com/goflyfox/gtoken require github.com/gogf/gf v1.8.4-0.20190913164306-41a0b5293949 diff --git a/gtoken/gtoken_test.go b/gtoken/gtoken_test.go index d9d1b4f..9e9640a 100644 --- a/gtoken/gtoken_test.go +++ b/gtoken/gtoken_test.go @@ -1,7 +1,7 @@ package gtoken_test import ( - "gtoken/gtoken" + "github.com/goflyfox/gtoken/gtoken" "testing" )