github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/syscall/syscall.go (about) 1 //go:build go1.16 2 // +build go1.16 3 4 // Package syscall provide wrapper of standard library syscall package for native import in Yaegi. 5 package syscall 6 7 import "reflect" 8 9 // Symbols stores the map of syscall package symbols. 10 var Symbols = map[string]map[string]reflect.Value{} 11 12 func init() { 13 Symbols["github.com/traefik/yaegi/stdlib/syscall/syscall"] = map[string]reflect.Value{ 14 "Symbols": reflect.ValueOf(Symbols), 15 } 16 } 17 18 //go:generate ../../internal/cmd/extract/extract -exclude=^Exec,Exit,ForkExec,Kill,Ptrace,Reboot,Shutdown,StartProcess,Syscall syscall