Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX for cannot find package "cms/controllers" #2

Open
omac777 opened this issue Sep 12, 2014 · 1 comment
Open

FIX for cannot find package "cms/controllers" #2

omac777 opened this issue Sep 12, 2014 · 1 comment

Comments

@omac777
Copy link

omac777 commented Sep 12, 2014

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

@omac777
Copy link
Author

omac777 commented Sep 12, 2014

edit conf/app.conf:

#for linux path separators
LangPath = "static/js/i18n.json"

edit static/js/i18n.json:
add some english language resource strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant