assembler

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchProvider

type ArchProvider interface {
	Provide() (arch.Document, []speca.Notice, error)
}

type ArchValidator

type ArchValidator interface {
	Validate(doc arch.Document) []speca.Notice
}

type Assembler

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

func NewAssembler

func NewAssembler(
	provider ArchProvider,
	validator ArchValidator,
	pathResolver PathResolver,
	rootDirectory string,
	moduleName string,
) *Assembler

func (*Assembler) Assemble

func (sa *Assembler) Assemble() (speca.Spec, error)

type PathResolver

type PathResolver interface {
	Resolve(absPath string) (resolvePaths []string, err error)
}

Jump to

Keyboard shortcuts

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