template

package
v0.9.14 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnyMatcher

func NewAnyMatcher() parsly.Matcher

Types

type AnyMatcher

type AnyMatcher struct {
}

func (*AnyMatcher) Match

func (a *AnyMatcher) Match(cursor *parsly.Cursor) (matched int)

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(name string) *Builder

func (*Builder) AddType

func (b *Builder) AddType(path string, rType reflect.Type, options ...interface{}) error

func (*Builder) Build

func (b *Builder) Build() reflect.Type

type Value

type Value struct {
	Key      string
	Fragment string
}

func Parse

func Parse(SQL string) ([]*Value, error)

Jump to

Keyboard shortcuts

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