Commit Graph

266 Commits

Author SHA1 Message Date
Javier Provecho Fernandez cbf414d600 docs(readme): add example on custom delims #860 2017-06-28 00:45:18 +02:00
Javier Provecho Fernandez dc016d0bcb docs(readme): s/gopkg.in.../github.com.../ 2017-06-27 23:16:18 +02:00
Javier Provecho Fernandez 0b3f6d13be docs(readme): switch back import from gopkg to github 2017-06-27 23:03:29 +02:00
Javier Provecho Fernandez d7ab0da647 Merge branch 'master' into develop 2017-06-27 22:39:09 +02:00
Manu MA d5b353c5d5 Update README.md
Github does not render README correctly, missing whitespaces
2017-04-28 12:59:23 +02:00
Bo-Yi Wu f8520b83f9 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-04-17 13:41:47 +08:00
Bo-Yi Wu 6bdc9afc8f fix readme format (#837)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-16 10:54:00 -05:00
Bo-Yi Wu b8be9df642 docs: add graceful-shutdown example for go 1.8 (#835)
* docs: add graceful-shutdown example for go 1.8

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-03-16 10:38:30 -05:00
Rohan Pai b2d7e35a60 Added Sourcegraph badge 2017-03-01 12:51:13 -08:00
Manu MA a47a8ca6e7 docs(README): fixes the markdown code format 2017-02-26 20:03:05 +01:00
Bo-Yi Wu 8191cdf5d6 docs: update readme for multiple template package. (#786) 2017-01-05 12:22:32 +08:00
Javier Provecho Fernandez 050937dab8 Improve "Upload file" example, Fix MD typos 2017-01-03 17:04:29 +01:00
Bo-Yi Wu 17af53a565 add upload file example.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-03 11:50:35 +08:00
Bo-Yi Wu 6596aa3b71 [ci skip] update readme for upload file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-03 10:34:27 +08:00
Bo-Yi Wu aa1a2b75fa Add comment for the logic behind func.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-01-02 18:01:25 +08:00
Bo-Yi Wu ff17a8dd75 Merge pull request #772 from gin-gonic/patch-3
Improve document for #742
2017-01-02 10:50:13 +08:00
Javier Provecho Fernandez 713c3697f4 Add instructions for pulling latest changes 2017-01-01 11:54:37 +01:00
Bo-Yi Wu 93e36404a1 Improve document for #742
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-23 09:12:13 +08:00
Bo-Yi Wu d158ef2e82 Support disable console color.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-21 14:41:47 +08:00
Javier Provecho Fernandez c9954730ea Merge pull request #637 from tatsuyafw/remove-obsolete-func
Remove an obsolete func in README
2016-12-05 10:47:24 +01: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
Pablo Moncada 9177f01c28 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
2016-11-08 18:38:28 +01:00
Bo-Yi Wu 504b119742 remove coveralls services.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-28 23:18:24 +08:00
mehdy 5c3c9c4f8c corrected a typo in README 2016-10-28 17:32:10 +03:30
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
Tatsuya Hoshino 8464b14974 Remove an obsolete func in README 2016-06-08 07:44:56 +09: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
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 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
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
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
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 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
Justin Mayhew 701989d26e Fix README mistake 2016-02-17 21:45:37 -04:00
Manu Mtz.-Almeida 27f912f5b2 README little fixes 2016-01-30 01:34:20 +01:00
Manu Mtz.-Almeida 3e56f79fba Coherent example code in README 2016-01-30 01:32:46 +01:00
Manu Mtz.-Almeida 3d002e3823 Updates read 2016-01-30 01:28:57 +01:00
Manu Mtz.-Almeida c1e660dd1a Adds logo to README 2016-01-27 03:37:24 +01:00
Manu Mtz.-Almeida e9531e5c76 Merge branch 'master' into develop 2016-01-26 20:08:28 +01:00
Manu Mtz.-Almeida 3368e6525b Merge pull request #481 from netroby/pr/graceful
Add document about graceful restart or stop
2016-01-26 20:03:54 +01:00
Josh Horowitz c5c806d22d Fixed typo. join -> john 2016-01-14 15:58:17 -05:00
ZhiFeng Hu 8b000c5a04 Add document about graceful restart or stop
I am looking for a long time , add this document will
help who were looking for graceful restart/stop like me.

Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-11 10:27:36 +08:00
Javier Provecho Fernandez 50d9af710b Merge branch 'cxjava-master' into develop
Conflicts:
	README.md
2015-10-02 10:06:02 +02:00
Javier Provecho Fernandez 8a530c026b Merge branch 'master' of https://github.com/cxjava/gin into cxjava-master 2015-10-02 10:02:18 +02:00
Javier Provecho Fernandez 0da4558139 Merge branch 'vinceyuan-master' into develop 2015-10-02 09:58:52 +02:00
Javier Provecho Fernandez 484fec592d Merge branch 'master' of https://github.com/vinceyuan/gin into vinceyuan-master 2015-10-02 09:58:32 +02:00
Javier Provecho Fernandez 02df324cc6 Fix #406, #407 and gofmt all examples 2015-08-17 12:49:28 +02:00
Javier Provecho Fernandez dba1781814 Correct an error in README.md 2015-08-17 12:27:38 +02:00
Manu Mtz-Almeida e8bc8f48e9 Merge branch 'master' into develop
Conflicts:
	README.md
	gin.go
	routergroup.go
2015-08-16 18:38:13 +02:00
Charles e6cd47a004 Correct the query parameter name. 2015-07-13 10:13:26 +08:00
Manu Mtz-Almeida 6efa0628ea Testing logo position 2015-07-11 17:59:16 +02:00
Manu Mtz-Almeida df866a26a3 Testing new positions of logo 2015-07-11 17:56:25 +02:00
Manu Mtz-Almeida 4a8a6213a7 Updates README 2015-07-11 17:53:54 +02:00
Javier Provecho Fernandez b7bdf59e50 Change old benchmark to Git Flavored Markdown Table 2015-07-11 11:43:35 +02:00
Javier Provecho Fernandez 9bab006776 Add logo.jpg 2015-07-10 21:58:20 +02:00
Manu Mtz-Almeida 5f2f8d9cb4 Better documentation 2015-07-05 03:26:30 +02:00
Javier Provecho Fernandez 7c0c427b2d Fix #252 typo (middlewares -> middleware) 2015-07-03 20:12:01 +02:00
Manu Mtz-Almeida 9db3afebc6 Updates README 2015-06-09 22:51:59 +02:00
Manu Mtz-Almeida f199a21486 Updates README 2015-06-04 03:24:28 +02:00
Manu Mtz-Almeida b99f210f06 Updates README 2015-06-04 02:49:14 +02:00
Vince Yuan 7229c488e8 Use plural for template folder name in the example. 2015-06-02 23:12:00 +08:00
Vince Yuan 05da3fa2dc Updated README.md to show how to use templates with same name in different directories. 2015-06-02 23:06:08 +08:00
Manu Mtz-Almeida ce784498b4 Adds benchmarks 2015-06-01 01:39:08 +02:00
Manu Mtz-Almeida 43bcac2031 Updates README 2015-05-31 05:00:47 +02:00
Manu Mtz.-Almeida 5680762712 Merge pull request #305 from JustinBeckwith/patch-1
add querystring parameter example to readme
2015-05-28 03:16:49 +02:00
Maksimov Sergey f06e80799b blank line removed 2015-05-27 09:01:32 +03:00
Maksimov Sergey c7013e4ea2 Fixed "Multipart Form" section in README.md 2015-05-27 08:59:50 +03:00
Justin Beckwith b7253902d0 Update README.md 2015-05-26 08:11:20 -07:00
Justin Beckwith 8d812a2097 Update README.md 2015-05-25 21:19:02 -07:00
Justin Beckwith f8d34ac8b6 Update README.md 2015-05-25 21:17:23 -07:00
Justin Beckwith 3feb5578dd add querystring parameter example to readme 2015-05-25 21:15:52 -07:00
Manu Mtz-Almeida 36fb71ff2f Updates README 2015-05-19 01:19:00 +02:00
Kane Rogers d3302e76c2 Teeny tiny typo fix! 2015-04-30 22:32:50 +10:00
techjanitor bee03fa7b0 Add documentation for using layout files with templates #219 2015-03-08 17:24:23 +01:00
Javier Provecho Fernandez 4e0e7d6e16 Add example from PR #121 2015-03-08 15:50:23 +01:00
Javier Provecho Fernandez e5aefdee40 Reorder README.md example imports 2015-03-08 14:09:13 +01:00
Miki Tebeka 2e47cda749 Using net/http constants instead of numeric values 2015-03-05 08:14:01 +02:00
The Gitter Badger 95230adbcb Added Gitter badge 2015-02-21 11:24:57 +00:00
Rogier Lommers 61ef0bea4a Update README.md 2015-02-15 14:04:44 +01:00
杰哥 d806d7a600 wrong spell
change similate to simulate
2015-02-12 14:29:11 +08:00
Javier Provecho Fernandez 66b6eecec6 Merge pull request #215 from el3ctro-/develop
Fix typo in README.md
2015-02-10 09:48:01 +01:00
Javier Provecho Fernandez fb58dc7491 Merge pull request #214 from rns/patch-1
Fix typo in README.md
2015-02-10 09:46:58 +01:00
Joshua Loper 63503bf682 Fixes a minor typo, changes 'Listen and server on 0.0.0.0:8080' to 'Listen and serve on 0.0.0.0:8080' 2015-02-08 14:43:41 -06:00
rns d852d334f4 Update README.md
typo fix
2015-02-08 21:50:44 +02:00
Ray Rodriguez 0b80e09204 Fixing typo in Form parameters example 2015-02-07 23:07:06 -05:00
Javier Provecho Fernandez b1758d3bfa Merge branch 'master' into develop 2015-02-07 15:04:24 +01:00
Javier Provecho Fernandez 171efe228d Merge branch 'develop' of git://github.com/superalsrk/gin into superalsrk-develop
Conflicts:
	Godeps/Godeps.json
2015-02-07 14:29:37 +01:00
Robert Wilkinson 651305c0f5 Update README.md 2015-02-06 09:14:12 -08:00
Javier Provecho Fernandez 713068594c Update README.md
- Reorganize roadmap for v1.0, done in the bottom, to do at top.
- Added request for #155, swagger support.
2015-02-04 23:00:51 +01:00
Javier Provecho Fernandez 5cfe2c56dd Merge branch 'develop' | Update AUTHORS and CHANGELOG 2015-02-04 14:37:21 +01:00
Javier Provecho Fernandez d936320e0e Sync master into develop
- Add 265faff4ba
- Update "github.com/julienschmidt/httprouter" version in Godeps
- Add 28b9ff9e34
2015-02-04 12:56:19 +01:00
SRK.Lyu d2c3699957 Update httprouter version and edit readme about the named parameters 2015-01-31 20:09:44 +08:00
Javier Provecho Fernandez 2d1291329a Fix #191 outdated documentation 2015-01-05 16:15:42 +01:00
Javier Provecho Fernandez c2185a129a Fix some examples in README.md 2015-01-01 17:19:50 +01:00
Javier Provecho Fernandez c8dedf7f39 Merge pull request #168 from dutchcoders/develop
Updated to use SetHTMLTemplate()
2014-12-29 13:03:03 +01:00
Javier Provecho Fernandez 265faff4ba Merge pull request #46 from dickeyxxx/readme/not-found
added example on using ServeFiles
2014-12-29 12:38:34 +01:00
Javier Provecho Fernandez 613d17fd3d Merge pull request #144 from javierprovecho/develop
Add attribution from httprouter
2014-12-29 12:25:50 +01:00
Remco af9a6bcb4d Fixed typo 2014-12-02 15:39:24 +01:00
Remco b8ab9554dc Updated to use SetHTMLTemplate() 2014-12-02 15:28:38 +01:00
Javier Provecho Fernandez bd1b400861 Add attribution from httprouter 2014-11-02 12:23:31 +01:00
Kel Cecil eaefeeb0fd Fix HTML form binding example typo 2014-10-27 20:46:23 -04:00
Manu Mtz-Almeida 0808f8a824 Adds logger source code 2014-09-13 20:37:27 +02:00
Manu Mtz.-Almeida 6fcc0a5b1d Updates logger screenshot 2014-09-13 20:26:47 +02:00
Manu Mtz-Almeida d3249800e9 Removing exclamation marks in Go. 2014-09-03 17:42:49 +02:00
梦溪笔谈 5092886e99 Update README.md
Fix a typo in Redirects section.
2014-08-21 21:32:32 +08:00
Manu Mtz-Almeida a3a575392c Merge branch 'patch-1' of https://github.com/yosssi/gin-1 into develop 2014-08-21 01:14:49 +02:00
Manu Mtz-Almeida 7963d018a8 Merge branch 'Req-to-Request' of https://github.com/yuyabee/gin into develop 2014-08-19 16:08:11 +02:00
yuyabe f39b692fc5 Update README.md 2014-08-19 01:38:03 -07:00
Manu Mtz-Almeida ceec1b6443 Merge branch 'redirect' of https://github.com/alexandernyquist/gin into develop 2014-08-18 17:19:32 +02:00
Alexander Nyquist 38dcdcc985 Started on improved documentation for model binding 2014-08-03 01:31:48 +02:00
Alexander Nyquist 64fb835e6f Only accepting 3xx status codes when redirecting. Swapped location and code arguments for Redirect signature 2014-08-02 17:06:09 +02:00
Alexander Nyquist 593de4e913 Added support for redirects 2014-07-29 00:48:02 +02:00
Keiji Yoshida 51cbd7c75e Update README.md 2014-07-26 01:57:24 +09:00
Manu Mtz.-Almeida c3abaf9afc Merge pull request #73 from gin-gonic/community
adding info for IRC and mailing list
2014-07-18 18:09:30 +02:00
Manu Mtz-Almeida 7a6d58d8c4 Updates README 2014-07-18 15:22:38 +02:00
Austin Heap f3fd8b92f8 adding info for IRC and mailing list 2014-07-16 10:00:47 -07:00
dickeyxxx 772d7d2997 added example on using Static 2014-07-08 10:17:22 -07:00
Javier Provecho 6c8c90115d Update README.md
Example of Catch-All parameters.
2014-07-08 11:55:20 +02:00
Manu Mtz-Almeida 545101811a Merge branch 'develop'
Conflicts:
	README.md
2014-07-08 01:32: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
dickeyxxx 55d6bb7a68 typo 2014-07-06 15:21:40 -07:00
Manu Mtz-Almeida 31417dbc63 Updates task list. 2014-07-06 18:57:58 +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 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 493008ea3c Improved BasicAuth() example 2014-07-04 04:47:34 +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 c8cb943ef7 Adds a console image 2014-07-04 02:55:01 +02:00
Nick Gerakines abe076b8f8 Adding MustGet method. Updating README. 2014-07-03 18:16:41 -04:00
Manu Mtz-Almeida 00413032bb Merge branch 'master' into develop 2014-07-04 00:05:31 +02:00
Manu Mtz-Almeida d42aa6d868 Fixes wrap around http.ResponseWriter 2014-07-04 00:01:28 +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
Alexander Nyquist 8e7b817460 Using template.Must to fix multiple return issue. 2014-07-03 17:32:47 +02:00
Austin Heap 9d4f958ce4 including build status in readme 2014-07-03 08:29:44 -07:00
Alexander Nyquist fd86812e81 Added OPTIONS to README 2014-07-03 16:16:40 +02:00
Manu Mtz-Almeida 2e50e2cc60 Adds more information in README.md 2014-07-02 20:52:47 +02:00
Alexander 728e103924 Fix README.md 2014-07-03 00:00:41 +08:00
Javier Provecho 15adea718d Fix 2014-07-02 14:38:01 +02:00
Javier Provecho 0318ebab19 Fix 2014-07-02 14:37:18 +02:00