A minimal micro-framework for building RESTful APIs in Go with a resource-oriented design.
Sleepy is a micro-framework for building RESTful APIs in Go. It provides a minimal, resource-oriented abstraction over HTTP handlers, allowing developers to structure APIs around resources that implement standard HTTP methods. The framework handles JSON serialization and routing while keeping close to Go's standard library patterns.
Go developers building lightweight RESTful APIs who prefer minimal frameworks and resource-oriented design patterns over larger, more opinionated solutions.
Developers choose Sleepy for its simplicity, minimal overhead, and clean resource-oriented API design that stays true to Go idioms while eliminating boilerplate code for JSON APIs.
rest for go
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Sleepy adds only a thin layer over Go's net/http package, keeping dependencies low and performance close to the standard library, as emphasized in its minimalist philosophy.
It enforces a clean, RESTful structure by having resources implement HTTP methods like Get and Post, simplifying API development as shown in the example code.
The framework serializes responses to JSON with proper content-type headers, reducing boilerplate code for common API tasks, a key feature mentioned in the documentation.
It stays true to Go idioms by building directly on net/http, making it easy for developers already familiar with Go's conventions and reducing the learning curve.
The README explicitly states it's 'still in active development' and not officially released, meaning it lacks stability and may have breaking changes.
Due to its minimal design, it misses advanced features like middleware, validation, or testing utilities that are standard in full-fledged frameworks like Gin or Echo.
As a small, niche project, it has limited community support, plugins, and third-party integrations, which can hinder development and troubleshooting.