restruct
OfficialSimplify API development with struct-based routing.
Authoraltlimit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the process of building RESTful APIs by mapping struct methods to HTTP routes, reducing boilerplate code.
Core Features & Use Cases
- Automatic Routing: Maps exported struct methods to HTTP endpoints driven by naming conventions.
- Nested Services: Supports hierarchical service structures for versioning and logical grouping.
- Request Binding and Validation: Automates binding incoming data to structs, with validation support.
- Template Rendering: Integrates a view engine to serve HTML with layouts and embedded assets.
- Use Case: Quickly develop a web backend with structured routes and dynamic HTML templates without manually writing router code.
Quick Start
Use the restruct package to define services, set up routes, and handle request processing with minimal configuration.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: restruct Download link: https://github.com/altlimit/restruct/archive/main.zip#restruct Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.