Commit Graph

11 Commits

Author SHA1 Message Date
Adrien Marquès 503f01bddd
test uint builtin typecheck overflow values for []byte
continuous-integration/drone/push Build is passing Details
2020-03-01 21:43:28 +01:00
Adrien Marquès 53eaec0c50
test regex for builtin string typecheck 2020-03-01 21:41:20 +01:00
Adrien Marquès 60a1849cf8 add builtin.bool test + make other types that allow 'string' allow '[]byte' as well 2019-11-19 16:16:42 +01:00
Adrien Marquès 9bf7f24ec9 feat: typechecks: tests for 'float64' 2019-11-19 16:16:42 +01:00
Adrien Marquès 4c5f13933c feat: typechecks: tests for 'uint' + add string repr for 'int' 2019-05-06 18:34:21 +02:00
Adrien Marquès be84c86172 fix: use t.Run in tests instead of for{} with i 2019-05-05 19:01:54 +02:00
Adrien Marquès 21f48a65ee feat: parallelize tests +ci 2019-05-05 19:01:54 +02:00
Adrien Marquès 0780e8dd33 feat: update string type checker | test: string, int, float, any typecheckers
feat: string type checker pre-process min,max/fixed length(s) before returning the CheckerFunc

feat: add typecheckers for 'any', 'float' and 'int' (managing number overflows)
2019-05-05 19:01:54 +02:00
Adrien Marquès a83d077569 feat: add builtin types [int, uint] | fix request param getters | add request param getters [GetFloat, GetInt, GetUint, GetStrings] with permissive possible types and 'automatic' conversion 2019-05-05 19:01:54 +02:00
Adrien Marquès cd2bcdd8bc ref 0: first working version ; totest 2019-05-01 15:14:49 +02:00
Adrien Marquès 16d3399ee9 ref 0: internal.checker renamed typecheck (no more internal) 2019-05-01 11:28:55 +02:00