transport

package
v2.0.0-...-bff7708 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TEMPLATE string

Functions

This section is empty.

Types

type Input

type Input struct {
	Name    string
	Fields  []parser.Field
	Actions []string
}

parsedData data

type Transport

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

Transport generator

func (*Transport) Generate

func (t *Transport) Generate(input *parser.Parser, conf *config.Config) error

Generate generates the 'transport.go' file

func (*Transport) GetContent

func (t *Transport) GetContent() string

GetContent content getter

func (*Transport) Save

func (t *Transport) Save() error

Save saves the generated content to file

Jump to

Keyboard shortcuts

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