Documentation ¶
Index ¶
- Variables
- type Buffer
- func (b *Buffer) AppendBool(v bool)
- func (b *Buffer) AppendByte(bs byte)
- func (b *Buffer) AppendFloat(v float64)
- func (b *Buffer) AppendInt(v int)
- func (b *Buffer) AppendString(s string)
- func (b *Buffer) AppendStringWithoutEscaping(s string)
- func (b *Buffer) Bytes() []byte
- func (b *Buffer) Reset()
- func (b *Buffer) String() string
- type Compute
- type Computers
- type Control
- type Execution
- type New
- type State
- type TemplateError
- type Type
- func (t *Type) AddField(id string, name string, rType reflect.Type) reflect.StructField
- func (t *Type) AddFieldWithTag(id string, name, tag string, rType reflect.Type) reflect.StructField
- func (t *Type) AnonymousHolder(rType reflect.Type) (string, bool)
- func (t *Type) EmbedType(rType reflect.Type) reflect.StructField
- func (t *Type) ReserveNewName() string
- func (t *Type) Snapshot() *Type
- func (t *Type) ValueAccessor(id string) (*xunsafe.Field, bool)
- func (t *Type) ValueAccessors() []*xunsafe.Field
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyStringPtr = unsafe.Pointer(&emptyString)
View Source
var FalseValuePtr = unsafe.Pointer(&falseValue)
View Source
var TrueValuePtr = unsafe.Pointer(&trueValue)
View Source
var ZeroFloatPtr = unsafe.Pointer(&zeroFloat)
View Source
var ZeroIntPtr = unsafe.Pointer(&zeroInt)
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
func (*Buffer) AppendBool ¶
func (*Buffer) AppendByte ¶
func (*Buffer) AppendFloat ¶
func (*Buffer) AppendString ¶
func (*Buffer) AppendStringWithoutEscaping ¶ added in v0.2.0
type Control ¶
type Control uint8
Control represents execution control flags like uses continue, uses break
type Execution ¶
type Execution struct { PanicOnError bool // contains filtered or unexported fields }
func NewExecution ¶
type State ¶
type State struct { sync.Mutex Mem interface{} MemPtr unsafe.Pointer StateType *Type Buffer *Buffer Errors []error PanicOnError bool // contains filtered or unexported fields }
func (*State) EmbedValue ¶ added in v0.2.0
type TemplateError ¶ added in v0.2.0
type TemplateError error
type Type ¶ added in v0.2.0
Type represents scope type
func (*Type) AddFieldWithTag ¶ added in v0.2.0
func (*Type) AnonymousHolder ¶ added in v0.2.0
func (*Type) EmbedType ¶ added in v0.2.0
func (t *Type) EmbedType(rType reflect.Type) reflect.StructField
func (*Type) ReserveNewName ¶ added in v0.2.0
func (*Type) ValueAccessor ¶ added in v0.2.0
func (*Type) ValueAccessors ¶ added in v0.2.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.