Commit Graph

1186 Commits

Author SHA1 Message Date
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
Alexander
fc494c8094 Fix READEME.md 2014-07-07 11:58:22 +08:00
Manu Mtz-Almeida
b5ddd484de Timestamp is calculated once 2014-07-07 03:04:06 +02:00
dickeyxxx
55d6bb7a68 typo 2014-07-06 15:21:40 -07:00
Manu Mtz-Almeida
3e4033673e Using sync.Pool instead of a channel 2014-07-06 21:09:23 +02:00
Manu Mtz-Almeida
31417dbc63 Updates task list. 2014-07-06 18:57:58 +02:00
Manu Mtz-Almeida
99cc7ca362 Go1.1 is not supported anymore 2014-07-06 18:41:07 +02:00
Manu Mtz-Almeida
c1775e85cc Adds source IP in built-in logger 2014-07-06 18:26:40 +02:00
Manu Mtz-Almeida
f8d85c1b4d Fixes MarshalXML() and renames initial "H" tag to "map". 2014-07-06 18:25:17 +02:00
Manu Mtz-Almeida
c9809ab10d Merge branch 'master' of https://github.com/chad-russell/gin into chad-russell-master 2014-07-05 19:40:20 +02:00
Manu Mtz-Almeida
027341c80b Adds cache pressure in logger 2014-07-05 19:31:26 +02:00
Manu Mtz-Almeida
db259897f4 Adds task list (part2) 2014-07-05 19:28:45 +02:00
Manu Mtz-Almeida
8ad554dac3 Adds task list 2014-07-05 19:27:33 +02:00
Manu Mtz-Almeida
f19cca070e Using c.Data() to write 404 error 2014-07-05 19:23:40 +02:00
msoedov
f944cff1a8 Added tests for ServeFiles #37 2014-07-05 18:06:24 +03:00
Manu Mtz-Almeida
ee1406bc4f ServeFiles should not be part of Gin core.
We have to create a middleware to handle static files
2014-07-05 16:14:43 +02:00
Chad Russell
c978efa42f added error handling 2014-07-04 23:18:05 -04:00
Manu Mtz-Almeida
aadd33af2c Context.Data() takes content-type 2014-07-05 02:53:51 +02:00
Manu Mtz-Almeida
f387bdda9e Fixes context.String() 2014-07-05 02:51:52 +02:00
Chad Russell
3c2da97919 Fix XML Marshal to work with gin.H 2014-07-04 20:51:25 -04:00
Manu Mtz-Almeida
cde876395f Using constant values for Content-Type 2014-07-05 02:51:14 +02:00
Manu Mtz-Almeida
07fe0d9944 Merge branch 'bindings' into develop 2014-07-05 02:49:25 +02:00
Manu Mtz-Almeida
d90868e5bd Adds FORM bindings 2014-07-05 02:44:32 +02:00
Manu Mtz-Almeida
9634a38704 New bindings for JSON, XML and form parsing and validation 2014-07-04 23:28:50 +02:00
Manu Mtz-Almeida
e2ecb03c16 Merge branch 'master' of https://github.com/julienschmidt/gin into julienschmidt-master
Conflicts:
	README.md
2014-07-04 21:37:33 +02:00
Julien Schmidt
592af3026c README: gofmt the code examples 2014-07-04 19:44:07 +02:00
Manu Mtz-Almeida
8f3f3597f3 Merge branch 'master' of https://github.com/ngerakines/gin into ngerakines-master
It adds MustGet() method in context.

Conflicts:
	examples/example_basic.go
2014-07-04 17:05:56 +02:00
Manu Mtz-Almeida
b5db76b87a Adds default config variable 2014-07-04 16:59:57 +02:00