* chore: generate stdlib for go1.13 * chore: update CI configuration. * fix: struct13 test is too dependent of the Go implementation. * fix: disable test import4.go
21 lines
410 B
Go
21 lines
410 B
Go
// Code generated by 'goexports errors'. DO NOT EDIT.
|
|
|
|
// +build go1.13,!go1.14
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"errors"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["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),
|
|
}
|
|
}
|