directives

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirectiveIndicator      = "@"
	DirectiveSeparator      = ":"
	InsertDirectiveFileType = "file"
)
View Source
const InsertDirectiveTag = DirectiveIndicator + "insert"
View Source
const ParamDirectiveTag = DirectiveIndicator + "param"

Variables

This section is empty.

Functions

This section is empty.

Types

type InsertDirective

type InsertDirective struct {
	SourceType  string
	SourceValue string
	Indent      int
}

func NewInsertDirective

func NewInsertDirective(source string) (*InsertDirective, error)

type ParamDirective

type ParamDirective struct {
	Name string
}

func NewParamDirective

func NewParamDirective(source string) (*ParamDirective, error)

Jump to

Keyboard shortcuts

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