pkger/pkger.go

30 lines
552 B
Go
Raw Normal View History

2019-07-31 00:21:26 +03:00
package pkger
2019-08-02 07:22:17 +03:00
import (
"log"
2019-08-09 22:43:58 +03:00
2019-09-20 18:16:57 +03:00
"github.com/markbates/pkger/pkging"
"github.com/markbates/pkger/pkging/stdos"
2019-08-02 07:22:17 +03:00
)
2019-09-20 18:16:57 +03:00
var current = func() pkging.Pkger {
n, err := stdos.New()
2019-08-02 07:22:17 +03:00
if err != nil {
2019-09-20 18:16:57 +03:00
log.Fatal(err)
}
return n
}()
var Abs = current.Abs
var AbsPath = current.AbsPath
var Create = current.Create
var Current = current.Current
var Info = current.Info
var MkdirAll = current.MkdirAll
var Open = current.Open
var Parse = current.Parse
var Remove = current.Remove
var RemoveAll = current.RemoveAll
var Stat = current.Stat
var Walk = current.Walk