Commit Graph

799 Commits

Author SHA1 Message Date
Manu Mtz-Almeida 1213878e9a Using data first argument 2015-03-31 18:04:52 +02:00
Manu Mtz-Almeida abcc6d9dec Adds indented JSON render 2015-03-31 18:02:38 +02:00
Manu Mtz-Almeida d4413b6e91 Refactors binding module 2015-03-31 17:51:10 +02:00
Manu Mtz-Almeida 18880f9215 ForwardedFor() is deprecated 2015-03-31 17:44:45 +02:00
Manu Mtz-Almeida 4a37b0808b Refactors Context initialization 2015-03-31 17:39:30 +02:00
Manu Mtz-Almeida df3ed787e1 Fixes debug HTML rendering:
- Stateless algorithm
2015-03-31 17:36:13 +02:00
Martin Karlsch 0569c5fb95 add support for embedded struct to Bind 2015-03-27 08:31:27 -07:00
Manu Mtz-Almeida 59d949d350 Moves errorMsg to errors.go 2015-03-26 14:10:46 +01:00
Manu Mtz-Almeida 9d59fc51bc math package is missing 2015-03-26 14:07:01 +01:00
Manu Mtz-Almeida 31323f694b AbortIndex is missing 2015-03-26 04:27:34 +01:00
Manu Mtz-Almeida 1e417c7a50 Refactors Context allocation 2015-03-25 19:33:17 +01:00
Manu Mtz-Almeida aa9fad5ad8 Fixes NoMethod / NoRoute handlers 2015-03-25 16:53:58 +01:00
Manu Mtz-Almeida 48fec0650d Cosmetic changes 2015-03-23 06:03:12 +01:00
Manu Mtz-Almeida 3e3ced70d4 Using log.Panic instead 2015-03-23 05:50:10 +01:00
Manu Mtz-Almeida 34b1d0262e Refactors response_writer.go 2015-03-23 04:45:33 +01:00
Manu Mtz-Almeida 251b73fc70 Fixes #239 bug 2015-03-23 04:45:03 +01:00
Manu Mtz-Almeida 8f31fbc502 Refactors render.go 2015-03-23 04:42:05 +01:00
Manu Mtz-Almeida 615c62d736 Some cosmetic changes 2015-03-23 04:41:29 +01:00
Manu Mtz-Almeida c8ee142717 Google App Engine does not support fmt. Using log instead 2015-03-23 04:40:33 +01:00
Manu Mtz-Almeida 3285007fbb Refactores context.go 2015-03-23 04:39:53 +01:00
Manu Mtz-Almeida 4103061a4a Refactores BasicAuth 2015-03-23 04:38:32 +01:00
Javier Provecho Fernandez 5857ddcd2c Merge pull request #243 from mattyw/patch-1
gin/context.go: Minor change in Abort comment
2015-03-18 19:08:48 +01:00
Matt Williams e8fc0c74b4 gin/context.go: Minor change in Abort comment 2015-03-17 18:51:03 +00:00
Javier Provecho Fernandez e2fa89777e Merge branch 'develop' | v0.5 release 2015-03-09 02:51:20 +01:00
Javier Provecho Fernandez 2b85363447 Update AUTHORS and CHANGELOG 2015-03-09 02:50:24 +01:00
Javier Provecho Fernandez 1921ccbaf3 Merge pull request #235 from donileo/NoMethod
Include NoMethod method to Gin to allow middleware handling of 405 errors
2015-03-09 01:30:35 +01:00
Adonis 5feda9fa7a added missing MIMEMultipartPOSTFORM and changed http.Router Godep.json SHA 2015-03-08 20:25:51 -04:00
Adonis a04d9e271c Include NoMethod Method to Gin to allow middlewares to handle 405 No Method Errors in the gin router 2015-03-08 19:37:27 -04:00
Javier Provecho Fernandez cf8150ed2b Add HTML no template string output support #197 2015-03-08 17:50:58 +01:00
techjanitor bee03fa7b0 Add documentation for using layout files with templates #219 2015-03-08 17:24:23 +01:00
Javier Provecho Fernandez 51599d3c0a Merge branch 'develop' of github.com:gin-gonic/gin into develop 2015-03-08 15:53:06 +01:00
Javier Provecho Fernandez d0bf5cdb83 Merge branch 'alexanderdidenko-develop' into develop 2015-03-08 15:51:26 +01:00
Javier Provecho Fernandez 4e0e7d6e16 Add example from PR #121 2015-03-08 15:50:23 +01:00
Aleksandr Didenko 0fb7bed1c0 Added support multipart/form-data #109 2015-03-08 15:43:37 +01:00
Javier Provecho Fernandez 1333a65081 Merge pull request #217 from ethankan/develop
Added support for unsigned integers in binding parameters of form posts....
2015-03-08 14:36:21 +01:00
Javier Provecho Fernandez 0f46ae2b81 Merge pull request #224 from zazab/bind-check-sub-structs
Add validating sub structures
2015-03-08 14:33:22 +01:00
Javier Provecho Fernandez 1a237a848e Merge pull request #231 from frankbille/patch-1
Add customizable Realm for Basic authentication
2015-03-08 14:29:32 +01:00
Javier Provecho Fernandez 38eb9676dc Merge branch 'mattn-colorful-logger-on-windows' into develop 2015-03-08 14:23:09 +01:00
Javier Provecho Fernandez dc0091006b Reorder logger.go imports 2015-03-08 14:19:50 +01:00
Javier Provecho Fernandez 1143d3c4d5 Merge branch 'colorful-logger-on-windows' of https://github.com/mattn/gin into mattn-colorful-logger-on-windows 2015-03-08 14:13:14 +01:00
Javier Provecho Fernandez 3f923269d6 Merge branch 'tebeka-develop' into develop 2015-03-08 14:09:35 +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
Frank Bille 5e3a096828 Added test for custom realm 2015-03-04 23:38:17 +01:00
Frank Bille 07c0d2e8fe Add customizable Realm for Basic authentication
Depending on the use case, it might be useful to be able to have different realms for different route groups.
2015-03-04 23:15:03 +01:00
Yasuhiro Matsumoto e769b5dd37 colorful logger on windows 2015-03-04 13:14:10 +09:00
Javier Provecho Fernandez 3aa0e9c2e0 Merge pull request #226 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-02-21 12:31:56 +01:00
The Gitter Badger 95230adbcb Added Gitter badge 2015-02-21 11:24:57 +00:00
Evgeny Persienko b537c5d15e Add slice elements check for not required slice 2015-02-20 14:33:50 +06:00
Evgeny Persienko f145e435c7 Add validating sub structures 2015-02-20 11:46:24 +06:00