mold

package
v0.0.0-...-994a6d8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileProductService

type FileProductService struct {
	// contains filtered or unexported fields
}

func NewFileProductService

func NewFileProductService(notifier io.Writer) *FileProductService

func (*FileProductService) SaveProduct

func (f *FileProductService) SaveProduct(destDir string, product *mold.Product) error

type FileRepository

type FileRepository struct {
}

func NewFileRepository

func NewFileRepository() *FileRepository

func (*FileRepository) FindByName

func (f *FileRepository) FindByName(name string) (*mold.Mold, error)

func (*FileRepository) Save

func (f *FileRepository) Save(m *mold.Mold) error

type FileService

type FileService struct {
}

func NewFileService

func NewFileService() *FileService

func (*FileService) ImportFrom

func (f *FileService) ImportFrom(path string, dstName string) (*mold.Mold, error)

type IOOutputPort

type IOOutputPort struct {
	// contains filtered or unexported fields
}

func NewIOOutputPort

func NewIOOutputPort(w io.Writer) *IOOutputPort

func (*IOOutputPort) RenderCreateError

func (i *IOOutputPort) RenderCreateError(e *mold.CreateError)

func (*IOOutputPort) RenderCreateResponse

func (i *IOOutputPort) RenderCreateResponse(r *mold.CreateResponse)

func (*IOOutputPort) RenderPourError

func (i *IOOutputPort) RenderPourError(e *mold.PourError)

func (*IOOutputPort) RenderPourResponse

func (i *IOOutputPort) RenderPourResponse(r *mold.PourResponse)

type Parameter

type Parameter struct {
	Name        string
	Description string
}

Jump to

Keyboard shortcuts

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