wimp-get/platform/other.go

13 lines
153 B
Go
Raw Normal View History

2017-05-30 17:03:41 +02:00
// +build !windows
package platform
2017-05-30 19:54:52 +02:00
import(
"path"
)
func DirOf(filename string) (dirname string, e error) {
dirname = path.Dir(filename)
return
}