Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 194 Bytes
package now
import (
"path"
"runtime"
)
func ResourceDir() string {
_, file, _, _ := runtime.Caller(0)
dir, _ := path.Split(file)
return path.Join(dir, "human-friendly")
}