github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_errors.go (about) 1 // Code generated by 'yaegi extract errors'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "errors" 9 "reflect" 10 ) 11 12 func init() { 13 Symbols["errors/errors"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "As": reflect.ValueOf(errors.As), 16 "Is": reflect.ValueOf(errors.Is), 17 "New": reflect.ValueOf(errors.New), 18 "Unwrap": reflect.ValueOf(errors.Unwrap), 19 } 20 }