patch: syscall

This commit is contained in:
xushiwei
2024-06-20 02:55:26 +08:00
parent 0c1ef72285
commit 607deaa3c4
6 changed files with 69 additions and 9 deletions

11
_demo/syscall/syscall.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import "syscall"
func main() {
wd, err := syscall.Getwd()
if err != nil {
panic(err)
}
println("cwd:", wd)
}