Commit Graph

10 Commits

Author SHA1 Message Date
Ming Deng fa7aee4d01 Fix beego module 2020-11-02 22:26:46 +08:00
Ming Deng cef7185b35 Bee new using v2.0 beego 2020-10-07 16:36:04 +08:00
qiantao dbb41fa430 1. default gopath=false,
2. fix error work path.
2020-07-26 10:26:38 +08:00
yitea f3240109bf bee new uses go mod by default 2020-07-18 22:09:28 +08:00
qiantao 8893ad2d13 generate go.mod skip Minor version. 2020-07-18 10:45:50 +08:00
qiantao 9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Faissal Elamraoui de82e68f73
Merge pull request #544 from dotSlashLu/dev
Introduce new "sqlconn" attribute into app.conf
2019-01-24 22:42:36 +01:00
Tavee Khunbida 19be52dc8c Fix panic on running tests for newly generated project 2019-01-08 00:34:51 +07:00
dotSlashLu 393e315ba5 cmd/new: unify variable naming convention with cmd/api
camelCase should be the standard anyway
2018-09-13 14:51:09 +08:00
Sergey Lanzman c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00