Commit 35795f8c authored by Peter Cheng's avatar Peter Cheng

修改import路徑

parent 17947169
...@@ -4,8 +4,9 @@ import ( ...@@ -4,8 +4,9 @@ import (
"log" "log"
"net/http" "net/http"
"../beans" "homekeeper/beans"
"../env" "homekeeper/env"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
"gopkg.in/gomail.v2" "gopkg.in/gomail.v2"
) )
......
...@@ -5,8 +5,10 @@ import ( ...@@ -5,8 +5,10 @@ import (
"net/http" "net/http"
"strings" "strings"
"../beans" "homekeeper/beans"
"../env"
"homekeeper/env"
"github.com/garyburd/redigo/redis" "github.com/garyburd/redigo/redis"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
......
package main package main
import ( import (
"./env" "homekeeper/env"
"./route" "homekeeper/route"
) )
var cfg = env.GetEnv() var cfg = env.GetEnv()
......
package route package route
import ( import (
"../controllers" "homekeeper/controllers"
"../env" "homekeeper/env"
"github.com/gin-gonic/gin" "github.com/gin-gonic/gin"
) )
......
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