You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a quick tutorial for OpenCensus involving scaffolding the app with kitgen.
I noticed the generated code does not add an implementation of the Failer interface when an error field for the Response struct is requested. It would be nice to add this feature so middleware can use the endpoint.Failer interface to identify business logic errors.
I'm currently working on a quick tutorial for OpenCensus involving scaffolding the app with kitgen.
I noticed the generated code does not add an implementation of the Failer interface when an error field for the Response struct is requested. It would be nice to add this feature so middleware can use the endpoint.Failer interface to identify business logic errors.
So a "hello" method like this:
would generate the following HelloResponse struct:
The text was updated successfully, but these errors were encountered: