gin/binding
ziheng e3ee01d185
improve sliceValidateError.Error performance using switch and strings.Builder (#2765)
fix missing nil pointer check

use simpler switch case

add missing tests

use for-loop instead of range

add benchmark test codes
2021-06-28 22:05:29 +08:00
..
binding.go build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
binding_msgpack_test.go build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
binding_nomsgpack.go build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
binding_test.go Support binding for slice/array obj [Rewrite] (#2302) 2021-01-03 21:43:34 +08:00
default_validator.go improve sliceValidateError.Error performance using switch and strings.Builder (#2765) 2021-06-28 22:05:29 +08:00
default_validator_benchmark_test.go improve sliceValidateError.Error performance using switch and strings.Builder (#2765) 2021-06-28 22:05:29 +08:00
default_validator_test.go improve sliceValidateError.Error performance using switch and strings.Builder (#2765) 2021-06-28 22:05:29 +08:00
form.go optimize code and reduce code cyclomatic complexity (#2737) 2021-06-03 20:12:51 +08:00
form_mapping.go Optimize code adjust (#2700) 2021-06-02 07:35:30 +08:00
form_mapping_benchmark_test.go Fix 'errcheck' linter warnings (#2093) 2019-10-27 13:58:59 +08:00
form_mapping_test.go Fix spelling (#2451) 2020-08-04 07:04:06 +08:00
header.go Optimize code adjust (#2700) 2021-06-02 07:35:30 +08:00
json.go use errors.New to replace fmt.Errorf will much better (#2707) 2021-04-28 18:39:09 +08:00
json_test.go Allow bind with a map[string]string (#2484) 2020-10-31 07:20:47 +08:00
msgpack.go build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
msgpack_test.go build: convert to go:build directives (#2664) 2021-03-27 09:09:44 +08:00
multipart_form_mapping.go Optimize code adjust (#2700) 2021-06-02 07:35:30 +08:00
multipart_form_mapping_test.go Check multipart file header size on test (#2716) 2021-05-23 11:44:41 +08:00
protobuf.go Fix typos (#1626) 2018-11-05 14:17:04 +08:00
query.go style(import): not use aliase when import package (#1146) 2017-10-29 13:12:22 +01:00
uri.go support bind uri param (#1612) 2018-11-22 09:29:48 +08:00
validate_test.go upgrade go-validator to v10 (#2149) 2019-11-25 14:49:45 +08:00
xml.go Fix #216: Enable to call binding multiple times in some formats (#1341) 2018-05-11 10:33:33 +08:00
xml_test.go Relocate binding body tests (#2086) 2019-10-10 16:58:31 +08:00
yaml.go Yaml binding (#1618) 2018-11-06 09:49:45 +08:00
yaml_test.go Relocate binding body tests (#2086) 2019-10-10 16:58:31 +08:00