command

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDestinationPath

func GetDestinationPath(pkgConfig *config.PackageConfig) string

/// HELPER FUNCTIONS - TODO: Move to proper home ///

func MakeDir

func MakeDir(path string) error

MakeDir creates a directory if it does't exist yet and sets folder permissions to 0755.

Types

type Generator

type Generator struct {
	lang.CommandGenerator
}

func (*Generator) Execute

func (g *Generator) Execute(genConfig *config.GeneratorConfig, pkgConfig *config.PackageConfig) error

func (*Generator) Generate

func (g *Generator) Generate(s *schema.Schema, genConfig *config.GeneratorConfig, pkgConfig *config.PackageConfig) error

Jump to

Keyboard shortcuts

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