Skip to content

Commit

Permalink
update reference path
Browse files Browse the repository at this point in the history
  • Loading branch information
harlanc committed Jul 10, 2019
1 parent f5bdb46 commit 1a5c674
Show file tree
Hide file tree
Showing 27 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "go",
"request": "launch",
"mode": "auto",
"program": "/Users/zexu/go/src/github.com/moshopserver",
"program": "$GOPATH/github.com/harlanc/moshopserver",
"env": {},
"args": []
}
Expand Down
4 changes: 2 additions & 2 deletions controllers/address.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type AddressController struct {
Expand Down
6 changes: 3 additions & 3 deletions controllers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/services"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/services"
"github.com/harlanc/moshopserver/utils"
)

type AuthController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/base.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package controllers

import (
"github.com/moshopserver/services"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/services"
"github.com/harlanc/moshopserver/utils"
)

// type BaseController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/brand.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type BrandController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/cart.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type CartController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type CatalogController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type CollectController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type CommentController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/footprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/bradfitz/slice"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type FootprintController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/goods.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type GoodsController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type IndexController struct {
Expand Down
6 changes: 3 additions & 3 deletions controllers/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/services"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/services"
"github.com/harlanc/moshopserver/utils"
)

type OrderController struct {
Expand Down
6 changes: 3 additions & 3 deletions controllers/pay.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/services"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/services"
"github.com/harlanc/moshopserver/utils"
)

type PayController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type RegionController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type SearchController struct {
Expand Down
4 changes: 2 additions & 2 deletions controllers/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package controllers
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
"github.com/moshopserver/models"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/models"
"github.com/harlanc/moshopserver/utils"
)

type TopicController struct {
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package main

import (
"github.com/astaxie/beego"
_ "github.com/moshopserver/models"
_ "github.com/moshopserver/routers"
"github.com/moshopserver/services"
_ "github.com/moshopserver/utils"
_ "github.com/harlanc/moshopserver/models"
_ "github.com/harlanc/moshopserver/routers"
"github.com/harlanc/moshopserver/services"
_ "github.com/harlanc/moshopserver/utils"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion models/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

import (
"github.com/astaxie/beego/orm"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

func GetChildCategoryId(categoryid int) []int64 {
Expand Down
2 changes: 1 addition & 1 deletion models/footprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

import (
"github.com/astaxie/beego/orm"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

func AddFootprint(userId, goodsId int) {
Expand Down
2 changes: 1 addition & 1 deletion models/goods.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

import (
"github.com/astaxie/beego/orm"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

type SpecificationData struct {
Expand Down
2 changes: 1 addition & 1 deletion models/order.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/astaxie/beego/orm"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

func GetOrderStatusText(orderid int) string {
Expand Down
4 changes: 2 additions & 2 deletions models/order_express.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/astaxie/beego/orm"

"github.com/moshopserver/services"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/services"
"github.com/harlanc/moshopserver/utils"
)

/**
Expand Down
2 changes: 1 addition & 1 deletion routers/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package routers

import (
"github.com/astaxie/beego"
"github.com/moshopserver/controllers"
"github.com/harlanc/moshopserver/controllers"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion services/express.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/astaxie/beego/httplib"

"github.com/astaxie/beego"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

type Traces struct {
Expand Down
2 changes: 1 addition & 1 deletion services/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
jwt "github.com/dgrijalva/jwt-go"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
)

var key = []byte("adfadf!@#2")
Expand Down
2 changes: 1 addition & 1 deletion services/weixin.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/astaxie/beego"
"github.com/astaxie/beego/httplib"
"github.com/moshopserver/utils"
"github.com/harlanc/moshopserver/utils"
"github.com/objcoding/wxpay"
)

Expand Down

0 comments on commit 1a5c674

Please sign in to comment.