Documentation ¶
Index ¶
- func ReadAllIns(reader io.Reader) []instructions.Instruction
- func SortAll(r io.Reader, w io.Writer)
- func SortIns(ins []instructions.Instruction)
- func YieldAll(mgr InstructionMgr, ins []instructions.Instruction)
- type HashCollectorMgr
- type InstructionMgr
- type InstructionYield
- type OutputInsMgr
- type SortableInstructions
- type SortableInstructionsHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllIns ¶
func ReadAllIns(reader io.Reader) []instructions.Instruction
func SortIns ¶
func SortIns(ins []instructions.Instruction)
func YieldAll ¶
func YieldAll(mgr InstructionMgr, ins []instructions.Instruction)
Types ¶
type HashCollectorMgr ¶
type HashCollectorMgr struct {
// contains filtered or unexported fields
}
func NewHashCollectorMgr ¶
func NewHashCollectorMgr(inverted bool) *HashCollectorMgr
func (HashCollectorMgr) Result ¶
func (o HashCollectorMgr) Result() map[string]string
func (HashCollectorMgr) SubmitIns ¶
func (o HashCollectorMgr) SubmitIns(instruction instructions.Instruction)
type InstructionMgr ¶
type InstructionMgr interface {
SubmitIns(instruction instructions.Instruction)
}
func NewOutputInsMgr ¶
func NewOutputInsMgr(out io.Writer) InstructionMgr
type InstructionYield ¶
type InstructionYield interface {
InstructionYield(instMgr InstructionMgr)
}
func NewYieldSingle ¶
func NewYieldSingle(yields instructions.Instruction) InstructionYield
type OutputInsMgr ¶
type OutputInsMgr struct {
// contains filtered or unexported fields
}
func (OutputInsMgr) SubmitIns ¶
func (o OutputInsMgr) SubmitIns(instruction instructions.Instruction)
type SortableInstructions ¶
type SortableInstructions struct { instructions.Instruction // contains filtered or unexported fields }
type SortableInstructionsHolder ¶
type SortableInstructionsHolder struct {
// contains filtered or unexported fields
}
func (SortableInstructionsHolder) Len ¶
func (s SortableInstructionsHolder) Len() int
func (SortableInstructionsHolder) Less ¶
func (s SortableInstructionsHolder) Less(i, j int) bool
func (SortableInstructionsHolder) Swap ¶
func (s SortableInstructionsHolder) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.