Commit Graph

26 Commits

Author SHA1 Message Date
Boris Borshevsky 6f94fd05c9 Linting and optimizing struct memory signature. (#1184)
* fix cleanPath spell (#969)

* linter and optimize structs
2017-11-29 10:50:14 +08:00
田欧 7e5aff8ea7 simple code and increase coverage (#1174) 2017-11-21 10:03:57 +08:00
田欧 3b300929e8 Empty string check (#1101) 2017-09-29 00:22:35 +08:00
whirosan fb7448f081 feat(binding): add UseNumber() in gin.Context.BindJSON() (#997) close #368
* resolve #368 add option to UseNumber() in gin.Context.BindJSON()

* add test
2017-07-10 10:33:35 +02:00
Bo-Yi Wu b1a15020d0 fix: gofmt error. (#833) 2017-03-11 07:35:29 -06:00
ABHISHEK SONI 15fc943ba4 Removed additional Iota
I think assigning iota to each constant is not required
2016-09-29 19:32:27 +05:30
Sergey Fedchenko 7ccbc8f584 Default writers must be io.Writers 2016-04-15 14:24:13 +06:00
Javier Provecho Fernandez 9e930b9bdd lint code 2016-04-15 01:16:46 +02:00
Manu Mtz.-Almeida 61fae4997d Improves documentation 2016-01-26 22:40:29 +01:00
Manu Mtz.-Almeida 60f66918f8 go-colorable does not work in app engine 2016-01-26 18:53:00 +01:00
Manu Mtz-Almeida 0d1b9856ed Adds shortcut for disabling bind validation. 2015-05-31 17:03:15 +02:00
Manu Mtz-Almeida 66fa43f9ae Preparing release Gin v1.0rc1 2015-05-22 16:55:16 +02:00
Manu Mtz-Almeida ac0ad2fed8 Improves unit tests 2015-04-08 02:58:35 +02:00
Manu Mtz-Almeida 873aecefa9 Renames DefaultLogFile to DefaultWriter 2015-04-07 23:34:16 +02:00
Manu Mtz-Almeida 6c788a4300 Adds default file log option 2015-04-07 18:37:17 +02:00
Manu Mtz-Almeida ea962038e1 Cosmetic changes 2015-04-07 12:27:23 +02: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 c8ee142717 Google App Engine does not support fmt. Using log instead 2015-03-23 04:40:33 +01:00
Mirza Ceric a57db1a355 fixed debugPrint 2014-10-21 16:48:21 +02:00
Manu Mtz-Almeida aa7b00a083 General refactoring. Part 2. 2014-10-09 01:40:42 +02:00
Manu Mtz-Almeida 07a3961941 General refactoring 2014-10-08 21:37:26 +02:00
Manu Mtz-Almeida fd2e342569 Adds API for interrogating current mode
It returns one of the following values:
- gin.	DebugMode
- gin.	ReleaseMode
- gin.	TestMode
2014-09-08 20:54:08 +02:00
Manu Mtz-Almeida 8e5397bfa0 Adds in-code license 2014-08-29 19:49:50 +02:00
Manu Mtz-Almeida 0ed259ca34 Adds TestMode 2014-08-21 01:01:05 +02:00
Manu Mtz-Almeida 809eee8a72 Adds debug mode (part 1)
- Adds API to switch the gin's mode
- Log listening port
- Log routes
2014-08-19 03:40:52 +02:00