1
0
mirror of https://github.com/beego/bee.git synced 2024-11-05 22:00:54 +00:00
Commit Graph

958 Commits

Author SHA1 Message Date
qiantao
91e4ac31a4 use go env check project is go mod or not. 2020-07-18 10:45:50 +08:00
qiantao
8893ad2d13 generate go.mod skip Minor version. 2020-07-18 10:45:50 +08:00
qiantao
fccdcbbeda fix #477 2020-07-18 10:45:50 +08:00
yitea
2c329fd606 support beego pro migration exec sql 2020-07-11 17:44:39 +08:00
yitea
cf3c3bdc8b fix judge sql ext bug
fix orm tag bug
change the timestamp file path
2020-07-11 17:13:13 +08:00
yitea
9db1e8fb4c beego pro add mysql source type 2020-07-05 14:54:26 +08:00
yitea
8758f6eaa1 beego pro init 2020-07-04 22:58:03 +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
askuy
1334a99810
Merge pull request #666 from gadelkareem/develop
fix: Fix github.com/go-delve/delve upgrade error
2020-06-20 18:27:34 +08:00
Waleed Gadelkareem
ad695cd8c6 Merge branch 'develop' of github.com:beego/bee into develop
# Conflicts:
#	cmd/commands/dlv/dlv_amd64.go
#	go.mod
#	go.sum
2020-06-20 11:58:52 +02:00
askuy
8ebb7977f9 bee update version 2020-06-20 12:26:28 +08:00
askuy
141938e899 resolve conflict 2020-06-20 12:17:43 +08:00
askuy
dfde62c411
Merge pull request #669 from yitea/develop
update delve version
2020-06-20 11:20:16 +08:00
yitea
f7419c24fc update delve version 2020-06-20 11:13:58 +08:00
Waleed Gadelkareem
f5cc7abe8d fix: Fix github.com/go-delve/delve upgrade error 2020-06-19 20:02:57 +02:00
askuy
280d71a799
Merge pull request #665 from gadelkareem/develop
fix: Fix github.com/go-delve/delve import error and add go mod
2020-06-19 23:25:23 +08:00
Waleed Gadelkareem
b1dbdd023c fix: Fix github.com/go-delve/delve import error and add go mod 2020-06-19 17:15:22 +02:00
Faissal Elamraoui
6a86284cec
Merge pull request #586 from cjereme/fix/infosec-output-security
Fixes #536
2019-04-11 07:34:49 +02:00
Faissal Elamraoui
6f1ff54713
Merge pull request #595 from maxshine/develop
Fix swagger docs missing schema attr for primitive body type param
2019-04-10 18:08:26 +02:00
Faissal Elamraoui
1febc2de16
Merge pull request #589 from CodeLingoBot/rewrite
Fix function comment
2019-04-10 18:04:09 +02: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
CodeLingoBot
4562f47f4d Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingoBot <bot@codelingo.io>
2019-03-21 16:17:56 +13:00
cjereme
0f9b9ea345 Update loggging information on bee migrate 2019-03-07 22:14:52 -08:00
Faissal Elamraoui
36a17c40b0
Merge pull request #578 from tvanriper/patch-1
Fix for projects with 'tests' in path
2019-02-12 14:36:12 +01: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
de82e68f73
Merge pull request #544 from dotSlashLu/dev
Introduce new "sqlconn" attribute into app.conf
2019-01-24 22:42:36 +01:00
Faissal Elamraoui
231e90d274 Kill the server process gracefully on Windows
See discussion in pull request #569
2019-01-23 10:21:40 +01: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
c5099ba2a0 Update migrate description for dir option 2019-01-15 18:38:10 +01:00
LiuYang
9f600ccb45 Merge branch 'develop' of https://github.com/beego/bee into develop 2019-01-15 11:57:55 +08:00
Faissal Elamraoui
d06f56566c
Merge pull request #563 from luhuisicnu/develop
Use quoted strings in bee help api
2019-01-10 08:47:27 +01:00
Faissal Elamraoui
12019e22af
Merge pull request #569 from sangheee/develop
Kill the server process gracefully
2019-01-10 08:30:18 +01:00
Faissal Elamraoui
f7120a52bf
Merge pull request #571 from taveek/patch-2
Fix all staticcheck errors
2019-01-09 07:39:54 +01:00
Tavee Khunbida
df31f04b26 Fix accidently removed time.Sleep 2019-01-08 22:21:19 +07:00
LiuYang
ab854cc874 Update g_docs.go
bug fix
2019-01-08 12:04:02 +08:00
Tavee Khunbida
4d1304b78c Fix staticcheck failed - error strings should not be capitalized (ST1005) 2019-01-08 01:08:03 +07: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
Tavee Khunbida
d24c05d83e Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:03:58 +07:00
Tavee Khunbida
79d6746aa2 Fix staticcheck failed - should use time.Until instead of t.Sub(time.Now()) (S1024) 2019-01-08 01:02:14 +07:00
Tavee Khunbida
19be52dc8c Fix panic on running tests for newly generated project 2019-01-08 00:34:51 +07:00
sanghee
87a287cac2 Remove comments and add error handling 2019-01-04 23:28:36 +09:00
sanghee
8252ea9f88 When restarting, terminate process gracefully 2019-01-04 23:04:38 +09:00
Hank.Lu
babd8d04b4
Update hprose.go
db连接信息使用双引号包含
2018-12-06 15:01:38 +08:00
Hank.Lu
d3a825f92d
Merge pull request #1 from luhuisicnu/luhuisicnu-patch-1
Update apiapp.go
2018-12-06 15:00:49 +08:00
Hank.Lu
5ba90258a4
Update apiapp.go
db连接信息使用双引号包含
2018-12-06 15:00:12 +08:00
10a2e56df0 Fixing absolute path for dir option of migration 2018-11-12 13:58:15 +01:00
3d977edbb4 Adding dir parameter to migrate command 2018-11-12 13:10:43 +01:00