1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-18 16:20:53 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Behnam
f7d9f5142e
optimization: struct alignment (#2636)
(#2632)
2024-05-30 22:50:01 +03:00
Martti T
a842444e8f
Add SPDX licence comments to files. See https://spdx.dev/learn/handling-license-info/ (#2604) 2024-03-09 11:21:24 +02:00
Martti T
50ebcd8d7c
refactor context tests to be separate functions (#2540) 2023-11-07 13:40:22 +02:00
toimtoimtoim
8e425c0431 gofmt fixes to comments 2023-05-12 22:14:29 +03:00
Roland Lammel
63c62bcbe5 Tidy up comments for value binders 2022-03-17 14:14:42 +02:00
toimtoimtoim
59d2eaa4ac Add new value binding methods (UnixTimeMilli,TextUnmarshaler,JSONUnmarshaler) to ValueBinder 2022-03-17 14:14:42 +02:00
Shubhendra Singh Chauhan
6a666acd5c
improve code quality (#1792)
* Merge variable declaration with assignment
* Fix unnecessary typecasting on `bytes.Buffer`
* Remove unnecessary wrapping of function call
2021-02-26 12:04:34 +02:00
Martti T
9b0e63046b
Fluent Binder for Query/Path/Form binding (#1717) (#1736)
* Fluent Binder for Query/Path/Form binding.
* CI: report coverage for latest go (1.15) version
* improve docs, remove uncommented code
* separate unixtime with sec and nanosec precision binding
2021-01-08 00:43:38 +01:00
Vishal Rana
c848119eef fixed #763
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-15 11:08:56 -08:00
Jonathan Hall
a66875f17d Add a BindUnmarshaler interface (#764)
This is inspired by interfaces like json.Unmarshaler, and can be used to
unmarshal custom data types from form/query data.
2016-12-15 10:23:14 -08:00
Vishal Rana
0e7a9c1d49 exposed default binder, tag for binding query params
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-10 09:06:29 -08:00
Vishal Rana
133f7acf21 fixed #762
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-12-09 10:24:14 -08:00
Vishal Rana
2aec0353f5 First commit to v3, #665
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-09-22 22:56:00 -07:00
Denys Koch
f83ee6cfbe Closes #610, Closes #611
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-08-17 11:07:25 -04:00
Oleg Lobanov
08f7147508 Fixed #574
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-06-23 19:49:01 -07:00
Oleg Lobanov
647c0b4ec6 fix panic in form binding. #577 (#579) 2016-06-23 07:40:14 -07:00
Vishal Rana
cb752141f2 Add form binding
Signed-off-by: Vishal Rana <vr@labstack.com>
2016-05-01 12:38:51 -07:00