pkger/current.go

14 lines
192 B
Go
Raw Normal View History

2019-08-02 05:34:32 +03:00
package pkger
2019-07-31 00:21:26 +03:00
import (
"github.com/gobuffalo/here"
)
2019-08-02 06:21:37 +03:00
func Info(p string) (here.Info, error) {
2019-08-02 07:22:17 +03:00
return rootIndex.Info(p)
2019-07-31 00:21:26 +03:00
}
func Current() (here.Info, error) {
2019-08-02 07:22:17 +03:00
return rootIndex.Current()
2019-07-31 00:21:26 +03:00
}