goravel-enum

Community

Generate Go enums and TS unions for forms.

Authorliwoo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Create a Go enum type and automatically generate the corresponding TypeScript union, ensuring consistent client-server representations and reducing boilerplate.

Core Features & Use Cases

  • Go to TS: Generates a Go enum type and a TypeScript union with form-friendly options.
  • Naming conventions: Enforces PascalCase type names and uppercase constants aligned with database values.
  • Use Case: Useful when building Go backends with a React/TypeScript frontend, API contracts, and form validation where enum values are shared across domains.

Quick Start

Run the generator to create Go enums and TypeScript unions from your Go source files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: goravel-enum
Download link: https://github.com/liwoo/goravel-inertia-tw-starter/archive/main.zip#goravel-enum

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.