converter

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(inputFiles []string, packageName string, outputFile string, opts ...Option) error

Convert processes the input files and generates Go structs based on the JSON schemas. If you provide the `WithOutputWriter` option, it will write the output to the provided writer instead of creating a file.

Types

type Option added in v0.0.12

type Option func(o *Options)

func WithDebug added in v0.0.12

func WithDebug() Option

func WithOutputWriter added in v0.0.13

func WithOutputWriter(w io.Writer) Option

WithOutputWriter allows to specify an output writer instead of creating an output file

type Options added in v0.0.12

type Options struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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