gleece

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 1 Imported by: 0

README ยถ

Gleece - Bringing joy and ease to API development in Go! ๐Ÿš€

gleece Go Report Card Coverage Status Go Version

VSCode Extension Documentation LibHunt - Gleece Latest Release Go Reference

OpenAPI 3.0 OpenAPI 3.1

Gin Support Echo Support Gorilla Mux Support Chi Support Fiber Support

GitHub stars License


Philosophy

Developing APIs doesnโ€™t have to be a chore - it should be simple, efficient, and enjoyable.

Gone are the days of manually writing repetitive boilerplate code or struggling to keep your API documentation in sync with your implementation.

With Gleece, you can:

  • โœจ Simplify your API development process.
  • ๐Ÿ“ Automatically generate OpenAPI v3.0.0 / v3.1.0 specification directly from your code.
  • ๐ŸŽฏ Ensure your APIs are always well-documented and consistent.
  • โœ… Validate input data effortlessly to keep your APIs robust and secure.
  • ๐Ÿ›ก Security first approach, easy authorization with supplied check function.
  • ๐Ÿงฉ Customize behavior to your exact needs by extending or overriding the routes templates.
  • โšก๏ธ Choose Your Framework - seamlessly works with Gin, Echo, Gorilla Mux, Chi, & Fiber Rest frameworks.

Gleece aims to make Go developersโ€™ lives easier by seamlessly integrating API routes, validation, and documentation into a single cohesive workflow.

๐Ÿ’ซ Look & Feel

Hereโ€™s a practical snippet of how Gleece simplifies your API development:

Screenshot

All other aspects, including HTTP routing generation, authorization enforcement, payload validation, error handling, and OpenAPI v3 specification generation, are handled by Gleece.

๐Ÿช„ How It Works

There's NO magic or hidden underlying hacks at runtime! ๐Ÿ˜Š

Once your API functions are ready, use the Gleece CLI to generate routes according to your chosen engine.

These generated routes work just like any manually written route and need to be registered to your engine's router instance through your application code.

You can continue to use your engine's native calls, middlewares, and other features as before - Gleece's generated code acts only as a complementary plugin to your router.

๐Ÿ“š Documentation

Explore the complete Gleece documentation to get started quickly.

You can also check out the Gleece Example Project, which demonstrates how to set up and use Gleece in a real-world scenario. This hands-on reference will help you integrate Gleece seamlessly.

๐ŸŽจ VSCode Extension

To enhance your development experience with Gleece, we provide an official VSCode extension that provides intelligent annotation highlighting and improved code visibility.

For more information and capabilities see the Gleece VSCode Extension.

To install it search Gleece in the "Extension" tab or go to the VSCode Marketplace.

๐Ÿ’ก Our Initiative

We believe that API development should be code-first, focusing on the developer experience while maintaining industry standards. Coming from the TypeScript ecosystem, we were inspired by frameworks like TSOA that handle everything from routing and validation to OpenAPI generation - all from a single source of truth: your code.

Read more about our initiative and development philosophy in my Gleece Project blog post.

๐Ÿ” Security

To report security concerns or vulnerabilities, please follow the instructions in our Security Policy.

๐Ÿ“ซ Contact

For general inquiries or feedback, please reach out to us at contact@gleece.dev.

Anyway, we'd love to hear from you, especially if you or your company use Gleece.


๐Ÿ“œ License

Gleece is licensed under the MIT LICENSE.

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis
cmd
e2e
chi
chi/routes
-- This file is automatically generated.
-- This file is automatically generated.
echo/routes
-- This file is automatically generated.
-- This file is automatically generated.
fiber/routes
-- This file is automatically generated.
-- This file is automatically generated.
gin
gin/routes
-- This file is automatically generated.
-- This file is automatically generated.
mux
mux/routes
-- This file is automatically generated.
-- This file is automatically generated.
generator
infrastructure
runtime module
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL