app

package
v29.0.0-...-ae58e83 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufFiles

func BufFiles() ([]string, error)

BufFiles returns a list of Buf.Build files.

func CutTemplatePrefix

func CutTemplatePrefix(name string) (string, bool)

func NewBufGenerator

func NewBufGenerator(appPath, protoDir 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
	ProtoDir         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 ...

Jump to

Keyboard shortcuts

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