bootstrap

package
v0.0.0-...-27c7031 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package bootstrap implements the bootstrapping logic: generation of a .go file to launch the actual generator and launching the generator itself.

The package may be preferred to a command-line utility if generating the serializers from golang code is required.

Package bootstrap implements the bootstrapping logic: generation of a .go file to launch the actual generator and launching the generator itself.

The package may be preferred to a command-line utility if generating the serializers from golang code is required.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	PkgPath, PkgName string
	Types            []string

	NoStdMarshalers       bool
	SnakeCase             bool
	LowerCamelCase        bool
	OmitEmpty             bool
	DisallowUnknownFields bool

	PartialName   string
	DeEncoderName string
	BuildTags     string

	StubsOnly  bool
	LeaveTemps bool
	NoFormat   bool
}

func (*Generator) RunDeEncode

func (g *Generator) RunDeEncode() error

func (*Generator) RunPartial

func (g *Generator) RunPartial() error

Jump to

Keyboard shortcuts

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