Go to file
yp05327 39a851e106
All checks were successful
test / check and test (push) Successful in 10m44s
Support pointer fields of other types (#17)
Follow #16
Related CI error: https://github.com/go-gitea/gitea/actions/runs/8528233145/job/23361402015#step:9:116

`val` is string, so can not be used as the value when the type is not `*string`.

Reviewed-on: #17
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
Co-committed-by: yp05327 <576951401@qq.com>
2024-04-30 07:11:03 +00:00
.gitea/workflows Update CI (#15) 2024-03-16 03:52:58 +00:00
.gitignore Expose validation patterns 2016-07-12 06:59:16 +08:00
bind_test.go Fix tests (#4) 2021-04-08 23:27:59 +08:00
binding.go Support pointer fields of other types (#17) 2024-04-30 07:11:03 +00:00
common_test.go Support pointer fields of other types (#17) 2024-04-30 07:11:03 +00:00
errorhandler_test.go Switched expect and actual parameters (#6) 2021-05-05 02:07:00 +08:00
errors_test.go Switched expect and actual parameters (#6) 2021-05-05 02:07:00 +08:00
errors.go upgrade with macaron 2015-10-13 02:38:38 -04:00
file_test.go Upgrade chi to v5 (#10) 2021-10-13 14:54:40 +08:00
form_test.go Support pointer fields of other types (#17) 2024-04-30 07:11:03 +00:00
go.mod Update CI (#15) 2024-03-16 03:52:58 +00:00
go.sum Update CI (#15) 2024-03-16 03:52:58 +00:00
json_test.go Upgrade chi to v5 (#10) 2021-10-13 14:54:40 +08:00
LICENSE Init commit 2014-10-07 06:51:12 -04:00
misc_test.go Upgrade chi to v5 (#10) 2021-10-13 14:54:40 +08:00
multipart_test.go Upgrade chi to v5 (#10) 2021-10-13 14:54:40 +08:00
README.md remove macaron 2020-12-20 09:09:12 +08:00
validate_test.go Support pointer fields of other types (#17) 2024-04-30 07:11:03 +00:00

Middleware binding provides request data binding and validation for net/http, It's a fork of Macaron.

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.