Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface {
ToHead(parsed parsers.HeadCommand) (Head, error)
}
Adapter represents an adapter
type Builder ¶
type Builder interface { Create() Builder WithVariable(variable string) Builder WithValues(values []Value) Builder Now() (Head, error) }
Builder represents an head builder
type Value ¶
type Value interface { IsName() bool Name() string IsVersion() bool Version() string IsImports() bool Imports() []parsers.ImportSingle IsLoads() bool Loads() []heads.LoadSingle }
Value represents an head value
type ValueBuilder ¶
type ValueBuilder interface { Create() ValueBuilder WithName(name string) ValueBuilder WithVersion(version string) ValueBuilder WithImports(imports []parsers.ImportSingle) ValueBuilder WithLoads(loads []heads.LoadSingle) ValueBuilder Now() (Value, error) }
ValueBuilder represents an headValue builder
func NewValueBuilder ¶
func NewValueBuilder() ValueBuilder
NewValueBuilder creates a new value builder instance
Click to show internal directories.
Click to hide internal directories.