builder

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder is a code generator for the API.

It builds an abstract syntax tree (AST) by given parsing information and dumps it to a file.

func NewBuilder

func NewBuilder(parsingInfo parserModels.ParsingInfo) *Builder

NewBuilder returns a new builder.

func (*Builder) Build

func (b *Builder) Build(apiPath string) error

Build runs API generating.

Loads templates, builds the AST and saves the source code to a file.

Directories

Path Synopsis
ast

Jump to

Keyboard shortcuts

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