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
Recently came across sleepy, great work on the micro framework!
A few minor suggestions.
Instead of embedding the *NotSupported types, why not just define the default implementation of methods directly on resource e.g http://play.golang.org/p/gXF2iFohYz
instead of binding to a port, maybe optionally add a method to accept a ServeMux or mux subrouter and bind routes to it. That way, sleepy can be used for a subset of all routes in an app and others non REST endpoints can be bound to the main router, leaving the flexibility of starting and running the server outside sleepy.
Happy to send a PR if you see any value in these suggestions.
The text was updated successfully, but these errors were encountered:
Hey Doug,
Recently came across sleepy, great work on the micro framework!
A few minor suggestions.
Happy to send a PR if you see any value in these suggestions.
The text was updated successfully, but these errors were encountered: