customtype

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(rt reflect.Type) (func(any) ast.Expr, bool)

Is indicates if the given reflect.Type has a custom AST representation generator registered.

func Register

func Register[T any](render func(value T) ast.Expr)

See the top-level valast.RegisterType docstring for details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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