types

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetConfig

type FetConfig struct {
	LeftDelimiter  string
	RightDelimiter string
	CommentSymbol  string
	TemplateDir    string
	CompileDir     string
	UcaseField     bool
	CompileOnline  bool
	Glob           bool
	AutoRoot       bool
	Debug          bool
	Ignores        []string
	Mode           Mode
}

FetConfig struct

type Indexs

type Indexs struct {
	StartIndex int
	EndIndex   int
}

Indexs struct

type Mode

type Mode int

Mode of parse type

const (
	Gofet Mode = 1 << iota
	Smarty
	AnyMode = Gofet | Smarty
)

Smarty for Mode

type NamespaceFn

type NamespaceFn func(name string) (bool, string)

NamespaceFn for variable

Jump to

Keyboard shortcuts

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