Documentation ¶
Index ¶
- Variables
- func Choose[T tdl.Plugin](target tdl.Target, available iter.Seq[tdl.Plugin]) (res T, err error)
- func Generator(ctx context.Context, target tdl.Target, available iter.Seq[tdl.Plugin]) (tdl.Generator, error)
- func NewTool(name string) tdl.Target
- func Parse(target string) (tdl.Target, error)
- func Reject(generator tdl.Generator, reason string) error
- func Tool(ctx context.Context, target tdl.Target, available iter.Seq[tdl.Plugin]) (tdl.Tool, error)
- func UnsupportedErr(target string) error
- type RejectionErr
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupported = errors.New("unsupported target")
View Source
var TypeScript typescript = "TypeScript"
Functions ¶
func UnsupportedErr ¶
Types ¶
type RejectionErr ¶
func (RejectionErr) Error ¶
func (e RejectionErr) Error() string
Click to show internal directories.
Click to hide internal directories.