app

package
v28.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufGenerator

func NewBufGenerator(appPath string) (*genny.Generator, error)

NewBufGenerator returns the generator to buf build files.

func NewGenerator

func NewGenerator(opts *Options) (*genny.Generator, error)

NewGenerator returns the generator to scaffold a new Cosmos SDK app.

Types

type Options

type Options struct {
	AppName          string
	AppPath          string
	GitHubPath       string
	BinaryNamePrefix string
	ModulePath       string
	AddressPrefix    string
	// IncludePrefixes is used to filter the files to include from the generator
	IncludePrefixes []string
	IsChainMinimal  bool
	IsConsumerChain bool
}

Options ...

func (*Options) Validate

func (opts *Options) Validate() error

Validate that options are usable.

Jump to

Keyboard shortcuts

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