config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 3 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 {
	BaseDirectory string
	// contains filtered or unexported fields
}

func (*Config) ExistingTemplates

func (c *Config) ExistingTemplates() []string

func (*Config) Get added in v0.1.2

func (c *Config) Get(name string) (*template.Generator, error)

func (*Config) HaveExistingTemplate

func (c *Config) HaveExistingTemplate(name string) bool

func (*Config) Load

func (c *Config) Load() error

func (*Config) WithDefaults added in v0.1.2

func (c *Config) WithDefaults(name string, obj interface{}) (*template.Generator, error)

func (*Config) WithResource added in v0.1.2

func (c *Config) WithResource(name string, obj interface{}) (*template.Generator, error)

Jump to

Keyboard shortcuts

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