iris/mvc2
2017-11-27 21:39:57 +02:00
..
binder_test.go simplify by join the bind registration(ctx-transformer-to-something-func-binder and service one, which just sets the struct as it's) to one named 'In' and create a 'Child' which will return a new mvc instance with binders inheritanced from the parent one and add a simple test to the mvc_test.go - will have more later on 2017-11-24 17:34:35 +02:00
binder.go implement a simple path param binder 2017-11-25 14:04:35 +02:00
controller_handler_test.go implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more 2017-11-27 21:39:57 +02:00
controller.go implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more 2017-11-27 21:39:57 +02:00
handler_test.go implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more 2017-11-27 21:39:57 +02:00
handler.go implement a simple path param binder 2017-11-25 14:04:35 +02:00
mvc_test.go implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more 2017-11-27 21:39:57 +02:00
mvc.go implement a way to add controller functions as handlers with the existing rules respected but it's a bit dirty I will change the implementation and move the mvc2 to mvc and make the api builder's PartyFunc to be a critical part of the controller and the mvc2.Mvc bind values should be also respected to the controller and more 2017-11-27 21:39:57 +02:00
path_param_test.go implement a simple path param binder 2017-11-25 14:04:35 +02:00
path_param.go implement a simple path param binder 2017-11-25 14:04:35 +02:00
reflect.go implement a simple path param binder 2017-11-25 14:04:35 +02:00
service_test.go I, think, that binders are done, both dynamic functions with different results every time (based on the context) and static services (interface as input(to give the devs the chance make better and most testable code) and struct or both are structs) 2017-11-23 22:36:47 +02:00
service.go I, think, that binders are done, both dynamic functions with different results every time (based on the context) and static services (interface as input(to give the devs the chance make better and most testable code) and struct or both are structs) 2017-11-23 22:36:47 +02:00