Commit Graph

18 Commits

Author SHA1 Message Date
Daniel Ashcroft 1a47e0e945
Fix description of the new command 2021-09-17 01:26:52 +01:00
Dings 7db43f16d5 fix generate case problem. 2020-12-27 15:56:23 +08:00
Ming Deng 486ac49f38 Fix beego#4377 2020-12-19 20:06:27 +08:00
Ming Deng 06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
Ming Deng cdb41fad3f using beego v2 2020-12-14 13:08:47 +08:00
Ming Deng 9d68c302bd Using beego/beego 2020-12-14 00:47:33 +08:00
Ming Deng bc846b254e Update to v1.12.3 2020-11-25 21:01:30 +08:00
Ming Deng 62c20031a1 update beego version 2020-11-25 20:56:37 +08:00
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