unionize

command module
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 6 Imported by: 0

README

Unionize

A tool for generating unions in Go

A fork of zyedidia/unionize.

Install:
go install github.com/spywiree/unionize@latest
Changes:
  • Added an option to generate tagged unions
  • Fixed several bugs
Usage:
Usage: unionize <input> <template-name> <output> <union-name> [flags]

A tool for generating unions in Go

Arguments:
  <input>            input package name
  <template-name>    input template type name
  <output>           output file name
  <union-name>       output union type name

Flags:
  -h, --help      Show context-sensitive help.
  -S, --strict    exit on package errors
  -T, --tagged    generate tagged union

unionize: error: expected "<input> <template-name> <output> <union-name>"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
unionize

Jump to

Keyboard shortcuts

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