Commit Graph

1315 Commits

Author SHA1 Message Date
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
Alexander Nyquist 70593e8dfe Added test for requests to / when no route for / is defined 2014-07-04 11:01:11 +02:00
Alexander Nyquist a0ae5c296d Started writing unit tests 2014-07-04 10:12:28 +02:00
Manu Mtz-Almeida 493008ea3c Improved BasicAuth() example 2014-07-04 04:47:34 +02:00
Manu Mtz-Almeida 9efd207a04 Fixes BasicAuth test in example_basic.go 2014-07-04 04:40:00 +02:00
Manu Mtz-Almeida fa80b047f9 The Recovery() middleware should not print the errors (only panics) 2014-07-04 04:32:43 +02:00
Manu Mtz-Almeida 91df54a5c2 Better print formatting for Errors 2014-07-04 04:31:11 +02:00
Manu Mtz-Almeida 7582b9077c Adds more samples in README
- Goroutines inside a request
- Basic HTTP authorization
2014-07-04 04:30:30 +02:00
Manu Mtz-Almeida 661398ca53 Nicer BasicAuth API 2014-07-04 04:28:25 +02:00
Manu Mtz-Almeida c8cb943ef7 Adds a console image 2014-07-04 02:55:01 +02:00
Manu Mtz-Almeida 6da7374af5 Do not update status code in Abort() if code is a negative number 2014-07-04 00:37:54 +02:00
Manu Mtz-Almeida 78536abb58 Better logger
- Includes http method
 - Includes coloured status code
 - Better formatting
2014-07-04 00:25:12 +02:00
Nick Gerakines abe076b8f8 Adding MustGet method. Updating README. 2014-07-03 18:16:41 -04:00
Manu Mtz-Almeida e1781e2db1 Fixes "http: multiple response.WriteHeader calls" in 404 [Issue #29] 2014-07-04 00:12:35 +02:00
Manu Mtz-Almeida 00413032bb Merge branch 'master' into develop 2014-07-04 00:05:31 +02:00
Manu Mtz-Almeida edc3872dd0 Merge branch 'master' of github.com:gin-gonic/gin 2014-07-04 00:05:18 +02:00
Manu Mtz-Almeida d42aa6d868 Fixes wrap around http.ResponseWriter 2014-07-04 00:01:28 +02:00
Nick Gerakines 108bfb4470 Setting Get metadata method to return both an interface as well as an error to remove panic. 2014-07-03 15:17:24 -04:00
Manu Mtz.-Almeida 5eb0e10a78 Merge pull request #33 from jasonrhansen/master
Fix spelling and grammar errors in comments
2014-07-03 20:39:01 +02:00
jasonrhansen fd30d289a9 Fix spelling and grammar errors in comments 2014-07-03 12:30:01 -06:00
Manu Mtz-Almeida 1aa3216303 Some work around bindings. it may do not compile 2014-07-03 19:19:06 +02:00
Manu Mtz.-Almeida f0282c8ada Merge pull request #32 from alexandernyquist/master
Using template.Must to fix multiple return issue.
2014-07-03 18:09:19 +02:00