Commit Graph

239 Commits

Author SHA1 Message Date
Bo-Yi Wu ce670a6497 refactor(json): make jsonite optional with build tags (#1026)
* refactor(json): Restore gin support for app engine

Create new folder to support multiple json package.
restore gin support for app engine (disable jsonite through tags)

use jsoniter

$ go build -tags=jsoniter .

use default json

$ go build .

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

* rename json file.

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

* docs(json): add build tags document.

* fix(docs): markdown format.

* fix(json): missing space.
2017-07-18 23:01:29 +02:00
Eason Lin 30cfa590bb dos(upload): fix alignment (#1030) 2017-07-17 20:23:10 -05:00
Javier Provecho Fernandez 8678b3df96 docs(readme): add reference to validator.v8 docs, close #738 (#1024) 2017-07-16 19:50:45 -05:00
Eason Lin 93b3a0d7ec feat(context): add SaveUploadedFile func. (#1022)
* feat(context): add SaveUploadedFile func.

* feat(context): update multiple upload examples.

* style(example): fix gofmt

* fix(example): add missing return
2017-07-15 22:42:08 -05:00
Eason Lin 5cb25a6410 docs(readme): fix multiple file example (#1018) 2017-07-14 12:28:16 -05:00
Javier Provecho Fernandez fe4d405108 docs(readme): fix single file example (#1017)
issue discovered by @sgon00 at gitter
2017-07-14 11:52:16 -05:00
Javier Provecho Fernandez df3b79e805 docs(readme): add binding html checkbox example, close #129 (#994) 2017-07-09 11:02:44 +02:00
Eason Lin bf9758ca05 Add SecureJSON doc 2017-07-09 01:54:43 +08:00
Eason Lin b060a5f409 docs(readme): fix code link (#989) 2017-07-08 03:16:59 -05:00
Javier Provecho Fernandez 0c3726b206 docs(readme): remove logo, relink it to gin-gonic/logo 2017-07-07 09:21:44 +02:00
Javier Provecho Fernandez 7387ef60be docs(readme): add badge for projects who use gin 2017-07-06 08:53:48 +02:00
Javier Provecho Fernandez ff5788bfdd docs(readme): upload full size logo 2017-07-06 08:41:27 +02:00
Javier Provecho Fernandez e4fd80c627 docs(readme): add sections to template docs 2017-07-05 16:22:58 +02:00
田欧 22fc0284e3 update readme (#976) 2017-07-04 21:42:56 -05:00
Bo-Yi Wu f0b54a3023 fix: update autotls example. (#965) 2017-07-03 00:55:21 -05:00
Javier Provecho Fernandez de1fdfd1e5 docs(readme): fix embedmd build 2017-07-02 16:34:52 +02:00
Javier Provecho Fernandez 912a7df572 docs(readme): fix step in vendor tool example 2017-07-02 16:28:37 +02:00
Javier Provecho Fernandez 84fc31f9f8 docs(readme): move contribution guide to a separate file 2017-07-02 14:35:10 +02:00
Javier Provecho Fernandez 5ce686113b docs(readme): add example on using vendor tool for version lock 2017-07-02 12:46:36 +02:00
Javier Provecho Fernandez 55dd6364cb docs(readme): update to color logo 2017-07-02 12:23:54 +02:00
Javier Provecho Fernandez 0cbf0f48aa docs(readme): update contribution guide
- change new prs base branch from develop to master
2017-07-02 11:58:19 +02:00
Javier Provecho Fernandez 2535b46bab docs(readme): add template func maps example
copied from gin_test.go @appleboy commit
2017-07-02 11:07:22 +02:00
Javier Provecho Fernandez 544b8b4dc8 docs(readme): switch deprecated bindwith for mustbindwith 2017-06-28 00:53:28 +02:00
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