Commit Graph

197 Commits

Author SHA1 Message Date
Suhas Karanth
26c3f42095 feat(binding): add support for custom validator / validation tags (#1068)
* feat(binding): Add support for custom validation tags

* docs: Add example for custom validation tag

* test(binding): Add test for registering custom validation
2017-08-27 09:37:39 +02:00
stackerzzq
bc538849eb Update readme for adding tag example of binding time field (#1080) 2017-08-24 20:06:13 -05:00
Eason Lin
80152ac82c doc(readme): update writing logs section wording. (#1074)
* doc(readme): update writing logs section wording.

* doc(readme): update writing logs section wording.

* doc(readme): fix word formatting
2017-08-23 21:50:31 -05:00
田欧
8be30bd382 Update readme for showing output log to file (#1073)
* Update readme for showing output log to file

* update indent
2017-08-22 13:55:32 +08:00
Eason Lin
3856206bd0 doc(readme): add additional middleware doc. (#1056) 2017-08-17 12:18:50 +08:00
田欧
d39ed41ab3 update template example (#1038)
* update template example

* add template example folder
2017-07-20 21:29:23 -05:00
Eason Lin
c19aa0598b feat(context): add BindQuery func (#1029)
* feat(context): add BindQuery func, only parse/bind the query string params.

* docs(readme): add BindQuery section.

* docs(readme): fix import.

* docs(readme): separate import
2017-07-19 09:50:05 +02:00
Bo-Yi Wu
74221b8a35 docs(benchmark): update benchmark data (#1035)
* feat(Benchmark): update benchmark data

* fix format.

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

* docs(benchmarks): re indent column, feature gin

* docs(benchmark): fix newline on vm details

* docs(readme): beautify bench table, explain result
2017-07-19 09:40:05 +02:00
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