mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
13 lines
152 B
Go
13 lines
152 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package file
|
|
|
|
import "os"
|
|
|
|
// Pwd 获取当前路径
|
|
func Pwd() (path string) {
|
|
path, _ = os.Getwd()
|
|
return
|
|
}
|