php81

package
v0.0.0-...-46b5f2f Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerator

func NewGenerator(options *Options) *generator

Types

type FileGenerator

type FileGenerator interface {
	Filename() string
	Bytes() []byte
}

func Load

func Load(filename string, options *Options) ([]FileGenerator, error)

Load takes a .proto file, and generates multiple output File{} objects

type Options

type Options struct {
	Namespace string
	Folder    string
	Prefix    string
	Router    bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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