decorate

package
v0.0.0-...-3e25eef Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Source        string
	Destination   string
	SelfPackage   string
	ExplainFile   string
	CopyrightFile string
	Imports       string
	Logger        string
	Prom          string
}

type Decorator

type Decorator struct {
	Config
	// contains filtered or unexported fields
}

func (*Decorator) CreateGenerator

func (d *Decorator) CreateGenerator()

func (*Decorator) Decorate

func (d *Decorator) Decorate()

func (*Decorator) GenerateOutputPath

func (d *Decorator) GenerateOutputPath()

func (*Decorator) LoadPackage

func (d *Decorator) LoadPackage()

func (*Decorator) SetDestination

func (d *Decorator) SetDestination()

type Interface

type Interface interface {
	Decorate()
}

func Default

func Default(cfg Config) Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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