Open omac777 opened 10 years ago
go get github.com/linbaozhong/go-cms go build main.go:4:2: cannot find package "cms/controllers" in any of: /home/loongson/Code/go/src/pkg/cms/controllers (from $GOROOT) /home/loongson/Code/oldgo/src/cms/controllers (from $GOPATH) main.go:5:2: cannot find package "cms/models" in any of: /home/loongson/Code/go/src/pkg/cms/models (from $GOROOT) /home/loongson/Code/oldgo/src/cms/models (from $GOPATH) main.go:6:2: cannot find package "cms/utils" in any of: /home/loongson/Code/go/src/pkg/cms/utils (from $GOROOT) /home/loongson/Code/oldgo/src/cms/utils (from $GOPATH)
FIXED go get github.com/linbaozhong/go-cms
global search and replace cms/ with github.com/linbaozhong/go-cms/
go get github.com/axgle/mahonia go get github.com/disintegration/imaging go get github.com/coocood/qbs go get github.com/mattn/go-sqlite3
edit conf/app.conf:
LangPath = "static/js/i18n.json"
edit static/js/i18n.json: add some english language resource strings.
go get github.com/linbaozhong/go-cms go build main.go:4:2: cannot find package "cms/controllers" in any of: /home/loongson/Code/go/src/pkg/cms/controllers (from $GOROOT) /home/loongson/Code/oldgo/src/cms/controllers (from $GOPATH) main.go:5:2: cannot find package "cms/models" in any of: /home/loongson/Code/go/src/pkg/cms/models (from $GOROOT) /home/loongson/Code/oldgo/src/cms/models (from $GOPATH) main.go:6:2: cannot find package "cms/utils" in any of: /home/loongson/Code/go/src/pkg/cms/utils (from $GOROOT) /home/loongson/Code/oldgo/src/cms/utils (from $GOPATH)
FIXED go get github.com/linbaozhong/go-cms
global search and replace cms/ with github.com/linbaozhong/go-cms/
go get github.com/axgle/mahonia go get github.com/disintegration/imaging go get github.com/coocood/qbs go get github.com/mattn/go-sqlite3