| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e23842ecab
					 | 
					
						
						
							
							fix json sort the map keys
						
						
						
						
						
						
						
						Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> 
						
						
					 | 
					
						2017-07-08 18:19:09 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						12508320c2
					 | 
					
						
						
							
							feat: change json lib to jsoniter
						
						
						
						
						
						
						
						A high-performance 100% compatible drop-in replacement of "encoding/json"
https://github.com/json-iterator/go
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> 
						
						
					 | 
					
						2017-07-08 16:51:36 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1e1e4fc867
					 | 
					
						
						
							
							Add Makefile to check the following thing (#947)
						
						
						
						
						
						
						
						* Add Makefile to check the following thing.
* vet check
* fmt check
* embedmd check
* misspell check
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* remove unused variable.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> 
						
						
					 | 
					
						2017-06-12 21:50:42 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4a2b55037f
					 | 
					
						
						
							
							delete else keyword (#945)
						
						
						
						
						
						
					 | 
					
						2017-06-12 21:36:37 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4ad3baf44e
					 | 
					
						
						
							
							Add license for some files (#940)
						
						
						
						
						
						
					 | 
					
						2017-06-12 01:04:52 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d922143bc5
					 | 
					
						
						
							
							lint code for import (#939)
						
						
						
						
						
						
					 | 
					
						2017-06-11 21:40:15 -05:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						6a3a8ae61b
					 | 
					
						
						
							
							Fix time.Time binding (#904)
						
						
						
						
						
						
						
						If a empty string is given(`""`), them time should be zero. 
						
						
					 | 
					
						2017-05-04 09:22:00 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5be2123c1a
					 | 
					
						
						
							
							Added support for MessagePack binding and rendering (#808)
						
						
						
						
						
						
						
						Added deps to vendor.json and fixed rendering bug 
						
						
					 | 
					
						2017-02-23 22:08:37 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						863248034b
					 | 
					
						
						
							
							Support time.Time on form binding (#801)
						
						
						
						
						
						
					 | 
					
						2017-02-17 21:32:36 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9e930b9bdd
					 | 
					
						
						
							
							lint code
						
						
						
						
						
						
					 | 
					
						2016-04-15 01:16:46 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a6ce7dd84a
					 | 
					
						
						
							
							Merge branch 'bind_test' of https://github.com/honteng/gin into honteng-bind_test
						
						
						
						
						
						
					 | 
					
						2016-02-24 19:20:20 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ffb5c0412a
					 | 
					
						
						
							
							Updates Validator + unit tests
						
						
						
						
						
						
					 | 
					
						2016-01-26 19:28:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						66c4b81579
					 | 
					
						
						
							
							Added exits check tests for binding
						
						
						
						
						
						
					 | 
					
						2015-12-30 22:49:38 -08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e5339a3f4d
					 | 
					
						
						
							
							Merge branch 'new-binding-validator' of https://github.com/zhing/gin into zhing-new-binding-validator
						
						
						
						
						
						
						
						Conflicts:
	binding/binding.go
	binding/binding_test.go 
						
						
					 | 
					
						2015-10-02 10:42:58 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						04917e8307
					 | 
					
						
						
							
							correct the mime type to x-protobuf
						
						
						
						
						
						
					 | 
					
						2015-07-18 15:18:01 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9d644d22e0
					 | 
					
						
						
							
							add protobuf binding for gin
						
						
						
						
						
						
					 | 
					
						2015-07-12 17:42:39 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0494e1b66a
					 | 
					
						
						
							
							Removes unused underscore
						
						
						
						
						
						
					 | 
					
						2015-07-10 13:06:01 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0873992f38
					 | 
					
						
						
							
							More unit tests for form binding
						
						
						
						
						
						
					 | 
					
						2015-07-08 04:26:37 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4194adce4c
					 | 
					
						
						
							
							Adds additional bindings for multipart and form
						
						
						
						
						
						
					 | 
					
						2015-07-03 04:20:00 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0c9f086b74
					 | 
					
						
						
							
							Renames Validate() to validate()
						
						
						
						
						
						
					 | 
					
						2015-05-31 16:30:00 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fecde9fed6
					 | 
					
						
						
							
							Refactors binding validation
						
						
						
						
						
						
					 | 
					
						2015-05-31 16:18:50 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9584e4ea5c
					 | 
					
						
						
							
							Fix for #310
						
						
						
						
						
						
					 | 
					
						2015-05-29 20:34:41 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ec1ce34d32
					 | 
					
						
						
							
							Merge branch 'multipart-form-data-fix' of https://github.com/konjoot/gin
						
						
						
						
						
						
						
						- the merge was manually modified before committing. 
						
						
					 | 
					
						2015-05-26 16:47:10 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						af8e099dfd
					 | 
					
						
						
							
							Fixes multipart integration
						
						
						
						
						
						
					 | 
					
						2015-05-26 16:31:05 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e46f4980b9
					 | 
					
						
						
							
							Restored support of multipart/form-data
						
						
						
						
						
						
					 | 
					
						2015-05-26 15:21:35 +03:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						967e62337a
					 | 
					
						
						
							
							form mapping optimisation
						
						
						
						
						
						
					 | 
					
						2015-05-24 03:56:11 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						208e1f5569
					 | 
					
						
						
							
							Merge branch 'master' of https://github.com/remerge/gin
						
						
						
						
						
						
						
						Conflicts:
	binding/binding.go 
						
						
					 | 
					
						2015-05-24 03:33:21 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8549810e2e
					 | 
					
						
						
							
							Using "validator.v5"
						
						
						
						
						
						
					 | 
					
						2015-05-22 16:46:21 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f414648384
					 | 
					
						
						
							
							- More unit tests
						
						
						
						
						
						
						
						- Improves HTML debug render
- InputHolder removed
- More debug logs 
						
						
					 | 
					
						2015-05-05 15:06:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0a192fb0fa
					 | 
					
						
						
							
							Tons of unit tests
						
						
						
						
						
						
					 | 
					
						2015-04-09 12:15:02 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8b26264574
					 | 
					
						
						
							
							Merge branch 'develop' into performance
						
						
						
						
						
						
						
						Conflicts:
	context.go
	context_test.go
	gin_test.go
	recovery_test.go
	utils.go 
						
						
					 | 
					
						2015-04-08 13:37:25 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ac0ad2fed8
					 | 
					
						
						
							
							Improves unit tests
						
						
						
						
						
						
					 | 
					
						2015-04-08 02:58:35 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a4eadceb45
					 | 
					
						
						
							
							Merge branch 'develop' into performance
						
						
						
						
						
						
						
						Conflicts:
	binding/form_mapping.go
	context_test.go 
						
						
					 | 
					
						2015-04-07 19:59:43 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9828435f70
					 | 
					
						
						
							
							Fixes failing unit test
						
						
						
						
						
						
					 | 
					
						2015-04-07 18:14:33 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a887e395f3
					 | 
					
						
						
							
							Fixes integration with "go-validate-yourself"
						
						
						
						
						
						
						
						http://stackoverflow.com/questions/29138591/hiding-nil-values-understanding-why-golang-fails-here 
						
						
					 | 
					
						2015-04-07 16:06:53 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ee3b67eda1
					 | 
					
						
						
							
							Experimenting with new validation library!!!
						
						
						
						
						
						
					 | 
					
						2015-04-07 12:30:16 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1f6304ca25
					 | 
					
						
						
							
							Cleaning up performance branch
						
						
						
						
						
						
					 | 
					
						2015-04-07 12:22:38 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d4413b6e91
					 | 
					
						
						
							
							Refactors binding module
						
						
						
						
						
						
					 | 
					
						2015-03-31 17:51:10 +02:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0569c5fb95
					 | 
					
						
						
							
							add support for embedded struct to Bind
						
						
						
						
						
						
					 | 
					
						2015-03-27 08:31:27 -07:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3e3ced70d4
					 | 
					
						
						
							
							Using log.Panic instead
						
						
						
						
						
						
					 | 
					
						2015-03-23 05:50:10 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						51599d3c0a
					 | 
					
						
						
							
							Merge branch 'develop' of github.com:gin-gonic/gin into develop
						
						
						
						
						
						
					 | 
					
						2015-03-08 15:53:06 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0fb7bed1c0
					 | 
					
						
						
							
							Added support multipart/form-data #109
						
						
						
						
						
						
					 | 
					
						2015-03-08 15:43:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						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 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0f46ae2b81
					 | 
					
						
						
							
							Merge pull request #224 from zazab/bind-check-sub-structs
						
						
						
						
						
						
						
						Add validating sub structures 
						
						
					 | 
					
						2015-03-08 14:33:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						b537c5d15e
					 | 
					
						
						
							
							Add slice elements check for not required slice
						
						
						
						
						
						
					 | 
					
						2015-02-20 14:33:50 +06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f145e435c7
					 | 
					
						
						
							
							Add validating sub structures
						
						
						
						
						
						
					 | 
					
						2015-02-20 11:46:24 +06:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						70f280f880
					 | 
					
						
						
							
							Added support for unsigned integers in binding parameters of form posts. Also changed parsing of integer fields to take into account the size of the fields.
						
						
						
						
						
						
					 | 
					
						2015-02-09 15:13:05 -08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5dad47bca2
					 | 
					
						
						
							
							Merge pull request #188 from gin-gonic/fix-binding
						
						
						
						
						
						
						
						Fix unexported field detection 
						
						
					 | 
					
						2015-02-07 14:38:40 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						d936320e0e
					 | 
					
						
						
							
							Sync master into develop
						
						
						
						
						
						
						
						- Add 265faff4ba
- Update "github.com/julienschmidt/httprouter" version in Godeps
- Add 28b9ff9e34 
						
						
					 | 
					
						2015-02-04 12:56:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |