Commit Graph

1713 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida 3716419fca Merge pull request #76 from mopemope/fix-plainrender
Fix Corrupted plainRender
2014-07-18 14:53:00 +02:00
mopemoepe 2947981b61 Fix Corrupted plainRender 2014-07-18 08:56:59 +09:00
Manu Mtz-Almeida cc94aa2dd9 Fixes pathFor() 2014-07-18 01:34:29 +02:00
Manu Mtz-Almeida d0fb4a6bf0 Fixes new NoRoute() logic 2014-07-18 00:29:44 +02:00
Manu Mtz-Almeida c7fdc2e03a Errors in context are removed 2014-07-18 00:29:20 +02:00
Manu Mtz-Almeida 48f4914165 Performance improvement
- Reduces number of allocations per context
- Improves CPU cache usage
2014-07-18 00:10:28 +02:00
Manu Mtz-Almeida 184a02ee2d Improves performance of NoRouter() handler 2014-07-17 23:43:41 +02:00
Manu Mtz-Almeida 4731e82bb7 Renames NotFound() to NoRoute() 2014-07-17 23:42:23 +02:00
Manu Mtz-Almeida d91cfbade4 Renames NotFound404 to NotFound 2014-07-17 20:18:50 +02:00
Manu Mtz-Almeida 15c27c712d Adds HEAD method in Static file serving 2014-07-17 02:07:18 +02:00
Manu Mtz-Almeida dda70bf382 Refactors Static() file serving 2014-07-17 02:02:09 +02:00
Manu Mtz-Almeida 8ed55606c3 Adds context.File(path) 2014-07-17 02:01:42 +02:00
Manu Mtz.-Almeida 0ca4d36b76 Merge pull request #70 from fmd/develop-templates
Renames SetHTTPTemplate to SetHTMLTemplate
2014-07-17 00:27:39 +02:00
Manu Mtz-Almeida dc43372610 Splitting source code in different files 2014-07-16 20:14:03 +02:00
Austin Heap f3fd8b92f8 adding info for IRC and mailing list 2014-07-16 10:00:47 -07:00
mopemoepe 2c3cdbb69f Add Pluggable View Renderer Example
Gin meets pongo2!
(https://github.com/flosch/pongo2)
2014-07-17 00:37:56 +09:00
Fareed Dudhia 176edde1fb SetHTTPTemplate -> SetHTMLTemplate 2014-07-16 12:53:57 +00:00
Manu Mtz-Almeida 3cf2d1338f Updates AUTHORS file 2014-07-16 12:18:02 +02:00
Manu Mtz.-Almeida 18d8c2a4c8 Merge pull request #69 from mopemope/fix-variadic
Fix variadic parameter
2014-07-16 12:06:21 +02:00
mopemoepe 08875b30d6 Fix variadic parameter 2014-07-16 14:18:45 +09:00
Manu Mtz-Almeida fc5caf0706 Adds AUTHORS file
Inspired by the cocos2d-iphone community! My old house
2014-07-16 03:40:58 +02:00
Manu Mtz-Almeida 7cf643aace Merge branch 'lucas-clemente-master' into develop 2014-07-16 02:55:03 +02:00
Manu Mtz-Almeida a1ff907768 Fixed Content-Type for json render. Thank you @mdigger 2014-07-16 02:49:22 +02:00
Manu Mtz-Almeida 3ef5e4fead Merge branch 'master' of https://github.com/lucas-clemente/gin into lucas-clemente-master 2014-07-15 17:55:28 +02:00
Manu Mtz-Almeida 5ea7a92267 Adds flexible render system 2014-07-15 17:41:56 +02:00
Manu Mtz-Almeida 94bc35bb2d Using keyed initialization to fix app-engine integration 2014-07-13 16:56:26 +02:00
Manu Mtz-Almeida f63a354b40 Normal log and error log are printed in the same call. 2014-07-13 00:18:33 +02:00
Manu Mtz-Almeida e2242b59e6 Fixes "Can't unmarshal JSON array with #63" 2014-07-13 00:17:01 +02:00
Lucas Clemente 6c31570472 work around path.Join removing trailing slashes from routes 2014-07-09 14:27:47 +02:00
dickeyxxx 772d7d2997 added example on using Static 2014-07-08 10:17:22 -07:00
Manu Mtz-Almeida 2078ecd8e1 Renaming Context.Req to Context.Request 2014-07-08 16:57:04 +02:00
Manu Mtz-Almeida 6b6ec5be77 Merge branch 'master' of https://github.com/mdigger/gin into mdigger-master 2014-07-08 14:39:02 +02:00
Dmitry Sedykh a235e0fb32 Add HTML POST Form support in Bind 2014-07-08 16:10:27 +04:00
kyledinh f6971041b0 RunTLS() for http.ListenAndServeTLS
run the engine for https

Fixes PR #52
2014-07-08 14:09:04 +02:00
Dmitry Sedykh 9880758ddb No repeat call c.Writer.Status() 2014-07-08 16:07:59 +04:00
Alexander Nyquist 78ccff217c Merge pull request #1 from msoedov/tests
Added tests for ServeFiles #37
2014-07-08 13:17:45 +02:00
Javier Provecho c224bf8211 Update .gitignore
Fixed PR #56.
2014-07-08 12:20:05 +02:00
Javier Provecho d09d128652 Merge pull request #56 from mopemope/godep
Manage Dependencies With Godep
2014-07-08 12:19:03 +02:00
Javier Provecho 6c8c90115d Update README.md
Example of Catch-All parameters.
2014-07-08 11:55:20 +02:00
mopemoepe cfb3ce5aac Ingnore godep workspace 2014-07-08 18:41:12 +09:00
mopemoepe fadb06968f Fix go version 2014-07-08 17:53:55 +09:00
mopemoepe 6fa85864ed Manage Dependencies With Godep 2014-07-08 15:53:10 +09:00
Manu Mtz-Almeida 545101811a Merge branch 'develop'
Conflicts:
	README.md
2014-07-08 01:32:41 +02:00
Manu Mtz-Almeida b6be4ba58c Updates travis. Only compile for Go1.3 2014-07-08 01:16:51 +02:00
Manu Mtz-Almeida 25e7330e65 Merge branch 'sync_pool' into develop
Conflicts:
	logger.go
2014-07-08 01:13:52 +02:00
Manu Mtz-Almeida f973263072 Merge branch 'master' of github.com:gin-gonic/gin 2014-07-08 01:10:35 +02:00
Manu Mtz-Almeida 058201713b New static file serving 2014-07-08 01:09:48 +02:00
Manu Mtz-Almeida 3295c6e9c4 Improves error management 2014-07-08 00:16:41 +02:00
Javier Provecho 7e68d039d3 Merge pull request #47 from dickeyxxx/readme/typo
typo
2014-07-08 00:01:47 +02:00
Javier Provecho 33d4704637 Merge pull request #50 from AlexanderChen1989/master
Fix READEME.md
2014-07-07 23:56:36 +02:00