stack

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Stacks = map[string]Stack{
	"none":  &None{},
	"go":    &Go{},
	"scala": &Scala{},
}

Functions

This section is empty.

Types

type Go

type Go struct{}

func (Go) Name

func (g Go) Name() string

func (Go) Scaffold

func (g Go) Scaffold(dir string, data templating.TemplateData) error

type None

type None struct{}

func (*None) Name

func (n *None) Name() string

func (*None) Scaffold

func (n *None) Scaffold(dir string, data templating.TemplateData) error

type Scala

type Scala struct{}

func (Scala) Name

func (s Scala) Name() string

func (Scala) Scaffold

func (s Scala) Scaffold(dir string, data templating.TemplateData) error

type Stack

type Stack interface {
	Scaffold(dir string, data templating.TemplateData) error
	Name() string
}

Jump to

Keyboard shortcuts

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