target

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupported = errors.New("unsupported target")
View Source
var TypeScript typescript = "TypeScript"

Functions

func Parse

func Parse(target string) (tdl.Target, error)

func Reject

func Reject(generator tdl.Generator, reason string) error

func UnsupportedErr

func UnsupportedErr(target string) error

Types

type RejectionErr

type RejectionErr struct {
	Generator tdl.Generator
	Reason    string
}

func (RejectionErr) Error

func (e RejectionErr) Error() string

Jump to

Keyboard shortcuts

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