Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParamValue ¶
type ParamValue struct {
// contains filtered or unexported fields
}
func NewArray ¶
func NewArray(items []ParamValue) ParamValue
func NewRecord ¶
func NewRecord(fields map[string]ParamValue) ParamValue
func NewString ¶
func NewString(value string) ParamValue
func (ParamValue) Any ¶
func (v ParamValue) Any() any
func (ParamValue) Array ¶
func (v ParamValue) Array() (Array, bool)
func (ParamValue) Record ¶
func (v ParamValue) Record() (Record, bool)
func (ParamValue) String ¶
func (v ParamValue) String() (string, bool)
type Params ¶
type Params map[string]ParamValue
func (Params) Get ¶
func (p Params) Get(name string) ParamValue
type Record ¶
type Record map[string]ParamValue
func (Record) Get ¶
func (r Record) Get(name string) ParamValue
type RendererHookContext ¶
type RendererHookFunc ¶
type RendererHookFunc func(ctx RendererHookContext) string
Click to show internal directories.
Click to hide internal directories.