GoToSocial/vendor/github.com/dsoprea/go-utility/v2/filesystem/common.go

16 lines
201 B
Go

package rifs
import (
"os"
"path"
)
var (
appPath string
)
func init() {
goPath := os.Getenv("GOPATH")
appPath = path.Join(goPath, "src", "github.com", "dsoprea", "go-utility", "filesystem")
}