Files
moxa/stdlib/go1_16_errors.go
Nicholas Wiersma 32cbcfb412 feat: update stdlib mapping for go1.17
* Drop go1.15
* Generate go1.17
* Update minimum extract version
* Update the CI config
2021-08-17 11:42:07 +02:00

21 lines
421 B
Go

// Code generated by 'yaegi extract errors'. DO NOT EDIT.
// +build go1.16,!go1.17
package stdlib
import (
"errors"
"reflect"
)
func init() {
Symbols["errors/errors"] = map[string]reflect.Value{
// function, constant and variable definitions
"As": reflect.ValueOf(errors.As),
"Is": reflect.ValueOf(errors.Is),
"New": reflect.ValueOf(errors.New),
"Unwrap": reflect.ValueOf(errors.Unwrap),
}
}