Versions in this module Expand all Collapse all v1 v1.13.0 Apr 28, 2020 v1.12.0 Apr 6, 2020 v1.11.0 Mar 27, 2020 Changes in this version + const DefaultTranspilerCommand + type ErrFunctionTranspilationFailed map[string]error + func (e ErrFunctionTranspilationFailed) Error() string + type TranspileError struct + Column int + Index int + Line int + Message string + func (te TranspileError) Error() string + type TranspileErrors []*TranspileError + func (tes TranspileErrors) Error() string + type TranspileResult struct + Code string + SourceMap json.RawMessage + type Transpiler interface + Transpile func(ctx context.Context, code ...string) ([]TranspileResult, error) + func NewExternalTranspiler(command string) Transpiler