Commit Graph

117 Commits

Author SHA1 Message Date
zhangqz 97df75a28c fix required struct tag when anonymous nested struct 2022-05-23 22:01:34 +08:00
Deng Ming 7ee363657f upgrade Beego to v2.0.3 2022-05-23 21:55:10 +08:00
xinyi 50ffa7ed8c fix struct comment 2022-04-24 19:22:39 +08:00
Ming Deng ee7b335232
Merge pull request #715 from jackywu/develop
fixbug: ignore tag did not works; set property type to the second tag…
2021-06-28 21:01:24 +08:00
Ming Deng 6b1c370fd0 Fix static check 2021-05-07 21:10:49 +08:00
Ming Deng cbb523325d
Merge pull request #762 from flycash/generateRouters
Add bee generate routers command
2021-02-09 23:54:59 +08:00
Ming Deng 22a4b07b4a Add bee generate routers command 2021-02-09 23:34:45 +08:00
Ming Deng 0a690decfb
Merge pull request #606 from LnZd/feature/analyse-import-pkg
search package from import paths, while missing type object
2021-02-09 20:11:41 +08:00
John 9428a53176 fix test case 2021-02-07 10:54:57 +08:00
John 824fa639f0 add more test case 2021-02-07 10:47:42 +08:00
John 637637efb2 add copyright comment 2021-02-06 20:32:17 +08:00
John d995fc5328 add unit test 2021-02-06 20:10:12 +08:00
John 02a66c7bd7 change log level 2021-02-06 19:44:32 +08:00
John 9541046a29 load package from ouside of the project 2021-02-05 09:44:52 +08:00
John d0bc4f76fc
Merge branch 'develop' into fix-required-tag 2021-01-28 19:48:23 +08:00
John 100f0af03a
Merge branch 'develop' into feature/analyse-import-pkg 2021-01-28 19:45:53 +08:00
Ming Deng 3b2304a480
Merge pull request #753 from flycash/updateMd
upgrade version to 2
2020-12-16 13:54:19 +08:00
Ming Deng 06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
Ming Deng 642d933c4a
Merge pull request #747 from flycash/updateMd
using beego v2
2020-12-14 13:20:03 +08:00
Ming Deng cdb41fad3f using beego v2 2020-12-14 13:08:47 +08:00
Ming Deng c619ccf1b3
Merge pull request #746 from flycash/updateMd
Using beego/beego
2020-12-14 01:04:08 +08:00
Ming Deng 9d68c302bd Using beego/beego 2020-12-14 00:47:33 +08:00
chenli e3e1a9849f fix 2020-12-03 22:01:24 +08:00
chenli 32230de2ea fix issues #730 2020-12-02 23:02:26 +08:00
Ming Deng f2a93c8c75 using beego to rerwite all commands 2020-11-05 23:57:37 +08:00
wucheng d496d26a1c revert:修复了自定义map结构的显示 2020-08-27 14:53:32 +08:00
wucheng c0d29b0d2a 修复了自定义map结构的显示 2020-08-27 14:23:02 +08:00
wucheng b45ded3355 添加自定义的对象显示类型 2020-08-26 17:22:57 +08:00
wucheng 2c673b7d1e support interface type 2020-08-26 11:17:09 +08:00
wucheng 53b0b68d00 使得function的Description头也可以直接多行注释 2020-08-24 10:48:59 +08:00
wucheng 2862ff48db 对@Description支持多行描述 2020-08-12 16:14:23 +08:00
wucheng b56b3794e4 fixbug: ignore tag did not works; set property type to the second tag value only if it is not omitempty and isBasicType 2020-08-12 10:19:09 +08:00
Hanjiang Yu c562cedf96 Internalize parsePackagesFromDir() 2020-08-01 16:24:26 +08:00
Hanjiang Yu e0ada8860d Use go/build to resolve package path for `bee generate docs` 2020-08-01 16:24:26 +08:00
qiantao 4158ab284e use `go env` check project is `go mod` or not. 2020-07-11 14:06:10 +08:00
askuy bb5e0435c9
Merge pull request #674 from guhan121/develop
generate go module project
2020-06-28 22:27:39 +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
askuy a780721c88
Merge pull request #573 from lyfunny/develop
gendoc bug
2020-06-23 21:56:47 +08:00
John 8357e26a9f fix warning 2019-05-28 16:55:07 +08:00
John 81ed8514be search package from import paths, while missing type object 2019-05-28 15:45:26 +08:00
John f694778078 Fix required struct tag 2019-05-27 08:02:30 +08:00
Yang, Gao 521e9a3bc0 [Fix] Fix swagger docs missing schema attr for primitive body type @Param annotation 2019-04-10 23:32:55 +08:00
Joseph Edwards Van Riper III 384d46897b
Fix for projects with 'tests' in path
Projects with the string 'tests' in their path cannot document their models properly in swaggergen.  The comment says the 'tests' subfolder within the dirpath should be excluded, but the test was for the full path.  This should fix the discrepancy.
2019-02-12 08:23:17 -05:00
Faissal Elamraoui 4b7edb7235
Merge pull request #559 from s00500/develop
Adds  "-dir" option to migrate command to set migrations directory
2019-01-16 07:47:03 +01:00
LiuYang 9f600ccb45 Merge branch 'develop' of https://github.com/beego/bee into develop 2019-01-15 11:57:55 +08:00
LiuYang ab854cc874 Update g_docs.go
bug fix
2019-01-08 12:04:02 +08:00
Tavee Khunbida 22af6cc712 Fix staticcheck failed - cutset contains duplicate characters (SA1024) 2019-01-08 01:07:11 +07:00
Tavee Khunbida f2696160ae Fix staticcheck failed - error strings should not be capitalized (ST1005) 2019-01-08 01:04:40 +07:00
Lukas Bachschwell 3d977edbb4 Adding dir parameter to migrate command 2018-11-12 13:10:43 +01:00
Franz von der Lippe d63a5eb53d Fix badly created definition names 2018-10-06 23:18:32 +02:00