Commit Graph

189 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