1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-01 09:33:28 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
hetingyao
0b165b78a1 make routers configurable for beego multi-instance in the same repo 2019-04-22 22:18:37 +08:00
Yang, Gao
3b00cfccec [Fix] Fix the issue that genRouterCode incorrect logic results in @Import annotations getting overwritten 2019-03-24 14:41:28 +08:00
Colstuwjx
1cbba4d56f Add annotated filter, support @Import, @Filter.
Signed-off-by: Colstuwjx <Colstuwjx@gmail.com>
2018-09-07 15:59:57 +08:00
jinxjinxagain
227c04c9e6 fix: When multiply comment routers on one func, only generates the last one controller 2018-06-28 15:54:17 +08:00
LI Daobing
9b57566963 fix typo 2017-10-11 14:35:31 +08:00
astaxie
a7354d2d08 Revert "should use time.Since instead of time.Now().Sub" 2017-09-09 06:29:38 +08:00
wangguoliang
c8c25549e7 should use time.Since instead of time.Now().Sub
Signed-off-by: wgliang <liangcszzu@163.com>
2017-09-07 19:01:34 +08:00
astaxie
621c25396e Merge pull request #2766 from yangsf5/master
sort ControllerComments
2017-07-17 11:02:28 +08:00
shanfeng.yang
fc86f6422d sort ControllerComments 2017-07-15 17:26:20 +08:00
eyalpost
0240e182c6 correctly handle multiple params with same type 2017-06-09 10:15:36 +03:00
Eyal Post
ee1d8bc30e fix gosimple 2017-05-17 20:50:41 +03:00
eyalpost
a1bc94e648 dont generate comment if router not found 2017-04-26 01:00:25 +03:00
eyalpost
4cba78afd9 small fixes 2017-04-25 23:42:35 +03:00
eyalpost
cbd831042a move under context 2017-04-25 18:39:42 +03:00
eyalpost
9b79437778 all types working + controller comments generation 2017-04-25 16:00:49 +03:00
yuanxuan
a5a6546b91 fix a spelling mistake 2016-09-21 19:33:12 +08:00
astaxie
3672f96a9d fix the typo 2016-08-17 22:56:21 +08:00
astaxie
a08e937cf0 Merge pull request #2032 from ShevYan/make-go-vet-pass
use keyed fields to pass go vet
2016-07-14 10:38:05 +08:00
shev_yan
9ab5f6d808 use keyed fields to pass go vet 2016-07-06 12:53:47 +08:00
ysqi
7ceff43db6 Fixed error in window os 2016-05-06 13:26:48 +08:00
ysqi
3c8ed9adfc Merge branch 'astaxie/develop' into develop
# Conflicts:
#	parser.go
2016-05-05 19:30:31 +08:00
ysqi
8210fd12d1 Fixed router fileName error in window 2016-05-05 19:28:09 +08:00
ysqi
272271f588 Change comment router file info 2016-04-27 23:57:22 +08:00
JessonChan
98dfecfd8a change beego log function to logs function 2016-03-24 17:39:29 +08:00
astaxie
420cd507b2 update output information 2016-03-11 10:07:44 +08:00
coseyo
4c1cfc1386 fix path issue 2016-01-24 00:18:16 +08:00
astaxie
d1bba02958 refact beego config 2015-12-09 23:35:04 +08:00
David V. Wallin
edbad60782 Merge branch 'develop' of github.com:dvwallin/beego into develop 2015-09-17 17:07:06 +02:00
David V. Wallin
f6d4629103 added a check to parser to not panic 2015-09-10 11:35:57 +02:00
astaxie
21fffc446b make golint happy parser.go 2015-09-08 21:45:45 +08:00
空见
e1d7bc8826 remove space after int()& add sort for commentsRouter file 2015-06-08 17:25:46 +08:00
Ryan Bastic
dc89f844f3 Reword message about reloading packages.. 2014-11-23 18:22:45 +01:00
astaxie
07c628c7e9 fix the commentsRouter init sequence 2014-11-06 17:30:50 +08:00
astaxie
1e92d17605 fix the repeat commentsRouters 2014-11-06 16:25:47 +08:00
astaxie
950ff91d87 hotfix for parsefiel 2014-11-05 22:23:54 +08:00
astaxie
9d4ec508bb parse for github.com replace the . to _ 2014-11-04 10:19:30 +08:00
astaxie
8b747f54bc fix #770 2014-11-03 23:33:11 +08:00
astaxie
a3888cef7f fix the comments for the \d 2014-08-25 19:48:02 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
2c420573d4 fix #703 2014-08-05 08:56:04 +08:00
astaxie
f4147058fc fix when delete the commentsRouter.go 2014-08-04 17:39:14 +08:00
astaxie
1fb24aca34 beego: commentsrouter use the workPath fix #708 2014-08-04 17:34:52 +08:00
astaxie
bbd31131a4 beego:parse judge weather the commentsRouter exist 2014-08-02 10:11:45 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
4dde2c59ff fix the parser.go lastupdate 2014-06-30 15:57:36 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
9c5348f690 beego: autoroute 2014-06-23 15:52:30 +08:00
astaxie
107a7a21c0 beego: dev mode print request router & pattern 2014-06-10 18:09:07 +08:00
astaxie
dbebf8df4b beego:namespace support nest
ns := NewNamespace("/v3",
		NSAutoRouter(&TestController{}),
		NSNamespace("/shop",
			NSGet("/order/:id", func(ctx *context.Context) {
				ctx.Output.Body([]byte(ctx.Input.Param(":id")))
			}),
		),
	)
2014-06-10 17:11:02 +08:00
astaxie
f7b01aab13 beego: modify the filter sequence 2014-06-10 11:02:41 +08:00