github.com/traefik/yaegi@v0.15.1/_test/os0.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "os" 6 ) 7 8 func main() { 9 _, err := os.ReadFile("__NotExisting__") 10 if err != nil { 11 fmt.Println(err.Error()) 12 } 13 } 14 15 // Output: 16 // open __NotExisting__: no such file or directory