Commit Graph

753 Commits

Author SHA1 Message Date
Bo-Yi Wu
b26d956e07 fix #752 ignore appengine os.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-04 00:30:59 +08:00
Javier Provecho Fernandez
32cab500ec v1.1 (#751)
* Implement QueryArray and PostArray methods

* Refactor GetQuery and GetPostForm

* Removed additional Iota

I think assigning iota to each constant is not required

* Add 1.7 test.

* Add codecov.io

* corrected a typo in README

* remove coveralls services.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* Update TravisCI to Gitter webhook

* Add codecov.yml Gitter webhook

* Changed imports to gopkg instead of github in README (#733)

* Add contribution guide

* Update go get for stable version

In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.

* Changed imports to gopkg instead of github in README

* Update README.md

* Logger: skip ANSI color commands if output is not a tty
2016-12-03 10:10:40 +01:00
Javier Provecho Fernandez
bb159f9260 Merge pull request #734 from pmoncadaisla/change-travis
Added go 1.7 version to travis.yml
2016-11-08 18:37:21 +01:00
Pablo Moncada
e396f2f357 Added go 1.7 version to travis.yml 2016-11-08 18:25:23 +01:00
Javier Provecho Fernandez
3900df04d2 Update go get for stable version
In the future, github default branch will be develop so running `go get github.com/gin-gonic/gin` will pull latest code from develop.
2016-10-12 16:51:06 +02:00
Javier Provecho Fernandez
f90cc43045 Add contribution guide 2016-10-12 16:42:56 +02:00
Javier Provecho Fernandez
2dae550eb5 Merge branch 'develop' 2016-10-12 14:13:04 +02:00
Manu Mtz.-Almeida
f931d1ea80 Merge pull request #620 from betahu/patch-1
Update README.md
2016-05-25 14:45:45 +02:00
betahu
bf5b09cc57 Update README.md
add code  to c.String
2016-05-17 15:14:47 +08:00
Javier Provecho Fernandez
542be2fe77 Merge pull request #588 from appleboy/patch-1
Add project lists using gin framework.
2016-04-15 13:10:04 +02:00
Javier Provecho Fernandez
cf256f51b1 Merge pull request #589 from appleboy/patch-3
update readme: add YAML example.
2016-04-15 13:09:00 +02:00
Javier Provecho Fernandez
3576efa535 Merge pull request #590 from seregayoga/develop
Default writers must be io.Writers
2016-04-15 13:08:28 +02:00
Sergey Fedchenko
7ccbc8f584 Default writers must be io.Writers 2016-04-15 14:24:13 +06:00
Bo-Yi Wu
e67cd9185e update readme: add YAML example. 2016-04-15 15:23:47 +08:00
Bo-Yi Wu
bab63c3ef9 Add project lists using gin framework. 2016-04-15 09:17:38 +08:00
Javier Provecho Fernandez
5caaac4c5c Push branch develop into master 2016-04-15 01:39:28 +02:00
Javier Provecho Fernandez
3c3526f1f1 fix test and build 2016-04-15 01:35:22 +02:00
Javier Provecho Fernandez
9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Javier Provecho Fernandez
89f1adf0eb add go report card to readme 2016-04-15 00:48:41 +02:00
Javier Provecho Fernandez
4df51ad4f8 Merge pull request #587 from roylou/develop
Write header immediately in AbortWithStatus(), close #585
2016-04-15 00:36:29 +02:00
Javier Provecho
007bd5124a closes #514, code from bobbo@b4f0b50 2016-04-14 23:47:49 +02:00
Roy Lou
4c4444b160 Write header immediately in AbortWithStatus()
Otherwise, caller needs to invoke WriteHeaderNow himself after
AbortWithStatus(), which is error-prone.

Also modified ErrorLoggerT() such that it always writes log to response
body. Otherwise calling AbortWithStatus() will fail to write body because
c.Writer.Written() is set true by WriteHeaderNow().
2016-04-15 00:02:29 +08:00
Javier Provecho Fernandez
7d0b329203 Push branch develop into master 2016-04-10 23:55:27 +02:00
Javier Provecho Fernandez
72ffff6e44 Merge pull request #581 from tebeka/develop
Rename to conform with test files naming (closes #580)
2016-04-09 13:29:52 +02:00
Miki Tebeka
2fd607be4c Rename to conform with test files naming (closes #580) 2016-04-07 07:33:28 +03:00
Javier Provecho Fernandez
233291e4e2 Merge pull request #575 from Saser/develop
Fix typos and improve wording
2016-04-02 20:48:52 +02:00
Javier Provecho Fernandez
dc85514303 Merge pull request #576 from kamronbatman/patch-1
[Cleanup] Typo in context.go
2016-04-02 20:47:18 +02:00
Kamron Batman
70c104e16c [Cleanup] Typo in context.go
Fixes typo from 'If Parses' to 'It parses'
2016-04-01 16:29:28 -07:00
Christian Persson
61729ed6fa Fix typos and improve wording 2016-04-01 09:58:58 +02:00
Javier Provecho Fernandez
4a6bc4aac4 Merge pull request #562 from appleboy/patch-3
Add upload file example
2016-03-14 12:55:50 +01:00
Javier Provecho Fernandez
a7d3be5b8a Merge pull request #557 from AlbinOS/patch-1
Fix typo on gin_test.go
2016-03-14 12:51:43 +01:00
Javier Provecho Fernandez
2afce84a7c Merge pull request #561 from appleboy/patch-1
Add manners package.
2016-03-14 12:49:18 +01:00
Bo-Yi Wu
d1f7f35d1c Add upload file example 2016-03-14 10:07:55 +08:00
Bo-Yi Wu
38b77a71d9 Add manners package. 2016-03-14 09:11:59 +08:00
Albin Gilles
1f2e53dfd1 Fix typo on gin_test.go
Fixes #550, change a duplicate assert on the Path of the route by an assert on Handler name associated with the route.
2016-03-09 08:29:01 +01:00
Javier Provecho Fernandez
31e4401f01 Merge pull request #556 from mpuncel/mpuncel/fix-godoc-handlername
fix typo in godoc for func (*Context) HandlerName
2016-03-08 10:27:37 +01:00
Michael Puncel
7171b967a3 s/currect/current 2016-03-07 21:56:46 -08:00
Michael Puncel
13565e1bf5 fix typo in godoc for func (*Context) HandlerName 2016-03-07 20:54:10 -08:00
Javier Provecho
7cdebae482 Merge branch 'bigwheel-topic-add-test-using-httptest' into develop 2016-03-05 23:32:40 +01:00
Javier Provecho
787aa6d170 Merge branch 'topic-add-test-using-httptest' of https://github.com/bigwheel/gin into bigwheel-topic-add-test-using-httptest 2016-03-05 23:31:31 +01:00
Javier Provecho Fernandez
288d1ae13c Merge branch 'ishanray-patch-1' into develop 2016-03-05 23:11:51 +01:00
Javier Provecho Fernandez
6b9311cd5d Merge branch 'patch-1' of https://github.com/ishanray/gin into ishanray-patch-1 2016-03-05 23:11:28 +01:00
ishanray
19f77bdd4c Update README.md 2016-03-05 02:27:19 +04:00
Javier Provecho Fernandez
00b10c30a0 Merge pull request #539 from appleboy/patch-2
Add 1.5 and 1.6 to TravisCI
2016-02-24 19:46:12 +01:00
Javier Provecho Fernandez
56eb8a6af6 Merge branch 'honteng-bind_test' into develop 2016-02-24 19:41:30 +01:00
Javier Provecho Fernandez
a6ce7dd84a Merge branch 'bind_test' of https://github.com/honteng/gin into honteng-bind_test 2016-02-24 19:20:20 +01:00
Javier Provecho Fernandez
68b8b498bd Merge branch 'hryamzik-develop' into develop 2016-02-24 19:03:26 +01:00
Javier Provecho Fernandez
cbf43049fe Explain better the net/http note. 2016-02-24 19:02:39 +01:00
Roman Belyakovsky
8b649abbf5 Added note for net/http import and fixed numbering in readme 2016-02-24 17:02:40 +03:00
bigwheel
3a040f8550 Add integration test using httptest 2016-02-24 02:44:52 +09:00