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