itcloudy / erp Goto Github PK
View Code? Open in Web Editor NEW基于beego的进销存系统
License: Apache License 2.0
基于beego的进销存系统
License: Apache License 2.0
goERP:can't find templatefile in the path:login.html
Request Method: GET
Request URL: /login/in
RemoteAddr: 127.0.0.1
Stack
/usr/local/go/src/runtime/asm_amd64.s:479
/usr/local/go/src/runtime/panic.go:458
/Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/template.go:64
/Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:249
/Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:200
/Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/controller.go:184
/Users/weeds/Documents/go/src/goERP/vendor/github.com/astaxie/beego/router.go:809
/usr/local/go/src/net/http/server.go:2202
/usr/local/go/src/net/http/server.go:1579
/usr/local/go/src/runtime/asm_amd64.s:2086
beego 1.7.2 (beego framework)
golang version: go1.7.1
2017/03/11 20:05:50 [INFO] Start building...
main.go:6:2: cannot find package "goERP/init" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\init (vendor tree)
C:\Go\src\goERP\init (from $GOROOT)
d:\GO\src\src\goERP\init (from $GOPATH)
E:\works\NwayConference\src\goERP\init
main.go:7:2: cannot find package "goERP/models" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\models (vendor tree)
C:\Go\src\goERP\models (from $GOROOT)
d:\GO\src\src\goERP\models (from $GOPATH)
E:\works\NwayConference\src\goERP\models
main.go:8:2: cannot find package "goERP/routers" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\routers (vendor tree)
C:\Go\src\goERP\routers (from $GOROOT)
d:\GO\src\src\goERP\routers (from $GOPATH)
E:\works\NwayConference\src\goERP\routers
main.go:10:2: cannot find package "goERP/utils" in any of:
d:\GO\src\src\github.com\hexiaoyun128\ERP\vendor\goERP\utils (vendor tree)
C:\Go\src\goERP\utils (from $GOROOT)
d:\GO\src\src\goERP\utils (from $GOPATH)
E:\works\NwayConference\src\goERP\utils
2017/03/11 20:05:50 [ERRO] ============== Build failed ===================
当我尝试go get goerp时,发生以下问题
D:\Go\src\src\github.com\hexiaoyun128\ERP>go get github.com/hexiaoyun128/goERP
package pms/db: unrecognized import path "pms/db" (import path does not begin with hostname)
package pms/init: unrecognized import path "pms/init" (import path does not begin with hostname)
package pms/routers: unrecognized import path "pms/routers" (import path does not begin with hostname)
定义了事务,如果在下面err出错之后进入defer,但是并没有rollback,这样会导致数据库锁吧?
o := orm.NewOrm() err = o.Begin() defer func() { if err == nil { if o.Commit() != nil { if errRollback := o.Rollback(); errRollback != nil { err = errRollback } } } }() if err != nil { return }
能不能编个二进制文件?或者提供一个在线演示网站。这样新手入门会更便捷一些。
github.com的包我可以go get, goERP这个哪里找?项目不是叫ERP吗?
main.go:14:2: cannot find package "github.com/beego/i18n" in any of:
/usr/local/go/src/github.com/beego/i18n (from $GOROOT)
/usr/local/go/src/github.com/beego/i18n (from $GOPATH)
main.go:15:2: cannot find package "github.com/go-sql-driver/mysql" in any of:
/usr/local/go/src/github.com/go-sql-driver/mysql (from $GOROOT)
/usr/local/go/src/github.com/go-sql-driver/mysql (from $GOPATH)
main.go:6:2: cannot find package "goERP/init" in any of:
/usr/local/go/src/goERP/init (from $GOROOT)
/usr/local/go/src/goERP/init (from $GOPATH)
main.go:7:2: cannot find package "goERP/models" in any of:
/usr/local/go/src/goERP/models (from $GOROOT)
/usr/local/go/src/goERP/models (from $GOPATH)
main.go:8:2: cannot find package "goERP/routers" in any of:
/usr/local/go/src/goERP/routers (from $GOROOT)
/usr/local/go/src/goERP/routers (from $GOPATH)
main.go:10:2: cannot find package "goERP/utils" in any of:
/usr/local/go/src/goERP/utils (from $GOROOT)
/usr/local/go/src/goERP/utils (from $GOPATH)
如果使用 postgres 数据库, db_name = "ERP" 这个不管怎么填, 最后都是用名字叫 postgres
的数据库.
相关设置:
db_type = "postgres"
#postgreSQL配置
[postgres]
db_alias = "default"
db_name = "ERP"
db_user = "postgres"
db_pwd = ""
db_host = "db"
db_port = 5432
db_sslmode = "disable"
pgweb 却只能这样连接:
DATABASE_URL=postgres://postgres:@db:5432/postgres?sslmode=disable
登入後有出現登入成功信息但沒出現菜單請問要如何處理
謝謝
您好,请问是否有演示版本?请下发地址或者相关截图谢谢!
我从配置文件看到了有redis。请问redis是否必须要安装呢?我现在有mysql数据库,那么我只保留配置文件中的mysql配置就可以了对吧?其他的配置我删除可以吗?
2017/04/30 13:49:53 [C] [asm_amd64.s:514] the request url is /user/
2017/04/30 13:49:53 [C] [asm_amd64.s:514] Handler crashed with error table: .int
not found, maybe not RegisterModel
获取用户列表失败
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.