Once the design of the API is completed and goagen has generated the low level handlers the next step consists of implementing the actual action handlers.
goagen generates a controller interface for each resource. It also generates MountXXXController methods all in the app package. The controller mounting methods accept an instance of an object that implements the corresponding controller interface and take care of hooking up the low level HTTP router with the corresponding methods.
↧