Adrien Marquès xdrm-brackets
xdrm-brackets pushed to master at go/tiny-url-ex 2020-03-29 15:24:26 +00:00
56cd3ff26c make service structs more readable
xdrm-brackets pushed tag v0.3.0 to go/aicra 2020-03-29 15:10:38 +00:00
xdrm-brackets merged pull request go/aicra#13 2020-03-29 15:10:06 +00:00
Add dynamic handler management
xdrm-brackets pushed to 0.3.0 at go/aicra 2020-03-29 15:10:05 +00:00
4877d0ea23 Merge branch 'feature/dynamic-handler-signature' of go/aicra into 0.3.0
8a0a20294c rename output fields to original name (not rename)
d7acf771ad implement the dynamic handler : fill input struct, do the call, fill return struct
a5424d8941 parse output in internal/config to find the datatype's reflect.Type()
a3daab7de4 dynamic handler output struct must be a pointer; no more a regular struct
Compare 13 commits »
xdrm-brackets closed pull request go/aicra#13 2020-03-29 15:10:05 +00:00
Add dynamic handler management
xdrm-brackets created pull request go/aicra#13 2020-03-29 15:09:48 +00:00
Add dynamic handler management
xdrm-brackets pushed to master at go/tiny-url-ex 2020-03-29 15:03:42 +00:00
f31adca326 upgrade to v0.3.0 dynamic handler management
32afe3ae05 fix user model json marshal
73ef0570fd make config fields exported in Go (capitalize)
Compare 3 commits »
xdrm-brackets pushed tag v0.3.0 to go/aicra 2020-03-29 15:01:34 +00:00
xdrm-brackets pushed to feature/dynamic-handler-signature at go/aicra 2020-03-29 15:01:17 +00:00
8a0a20294c rename output fields to original name (not rename)
d7acf771ad implement the dynamic handler : fill input struct, do the call, fill return struct
a5424d8941 parse output in internal/config to find the datatype's reflect.Type()
a3daab7de4 dynamic handler output struct must be a pointer; no more a regular struct
00e2a96c79 fix: ErrNoMatchFound error
Compare 7 commits »
xdrm-brackets pushed to feature/dynamic-handler-signature at go/aicra 2020-03-29 12:18:28 +00:00
974f58fb8e parse 'out' for internal config
ca2be1415d enforce 'name' for capture or query parameters
b15bb578ce delegate from internal.service to parameter.Validate()
76cc2f5279 replace datatype.Kind() with Type()
8cfa2235d6 add Kind() method to datatype.T interface and to config parameter
xdrm-brackets pushed to 0.3.0 at go/aicra 2020-03-28 14:45:44 +00:00
cb7f22e03d remove useless readme assets
xdrm-brackets pushed tag v0.3.0 to go/aicra 2020-03-28 14:11:20 +00:00
xdrm-brackets pushed to master at go/tiny-url-ex 2020-03-28 14:02:29 +00:00
473e46ee19 update according to new api changes
xdrm-brackets closed pull request go/aicra#12 2020-03-28 14:01:09 +00:00
allow constants for api.Error; update api.Handler signature
xdrm-brackets merged pull request go/aicra#12 2020-03-28 14:01:09 +00:00
allow constants for api.Error; update api.Handler signature
xdrm-brackets pushed to 0.3.0 at go/aicra 2020-03-28 14:01:08 +00:00
d3e8d48bc3 Merge branch 'refactor/const-api-errors' of go/aicra into 0.3.0
af09466013 migrate api.response to const errors; make HandlerFn return an api.Error; rename http HandlFunc to Handle;
5504e4b3ec make api errors int; allow for const defaults
Compare 3 commits »
xdrm-brackets created pull request go/aicra#12 2020-03-28 13:59:47 +00:00
allow constants for api.Error; update api.Handler signature
xdrm-brackets pushed to refactor/const-api-errors at go/aicra 2020-03-28 13:58:55 +00:00
af09466013 migrate api.response to const errors; make HandlerFn return an api.Error; rename http HandlFunc to Handle;
5504e4b3ec make api errors int; allow for const defaults
xdrm-brackets pushed to master at go/tiny-url-ex 2020-03-28 11:36:14 +00:00
fca88ccf82 bcupdate: aicra@0.3.0 new configuration and service examples : articles/users
fd0a920533 docker: use entrypoint instead of cmd
Compare 2 commits »
xdrm-brackets pushed to 0.3.0 at go/aicra 2020-03-28 11:33:35 +00:00
2f9534a3b0 Merge branch 'refactor/config-validator' of go/aicra into 0.3.0
49cf06d5d8 implement validator interface for config.server; refactor
af3ffa7d6a implement validator interface for config.service; rename for readability
dac9aa4298 implement validator interface for config.parameter
54705b7472 create validator interface for config
Compare 7 commits »