forked from mirror/pkger
version bump: v0.12.5
This commit is contained in:
parent
338906395e
commit
3f76ab6dd9
11
pkger.go
11
pkger.go
|
@ -1,7 +1,6 @@
|
||||||
package pkger
|
package pkger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
@ -16,14 +15,8 @@ var current pkging.Pkger
|
||||||
var gil = &sync.RWMutex{}
|
var gil = &sync.RWMutex{}
|
||||||
|
|
||||||
var disk = func() pkging.Pkger {
|
var disk = func() pkging.Pkger {
|
||||||
her, err := here.Current()
|
her, _ := here.Current()
|
||||||
if err != nil {
|
n, _ := stdos.New(her)
|
||||||
log.Println(err)
|
|
||||||
}
|
|
||||||
n, err := stdos.New(her)
|
|
||||||
if err != nil {
|
|
||||||
log.Println(err)
|
|
||||||
}
|
|
||||||
return n
|
return n
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package pkger
|
package pkger
|
||||||
|
|
||||||
// Version of pkger
|
// Version of pkger
|
||||||
const Version = "v0.12.4"
|
const Version = "v0.12.5"
|
||||||
|
|
Loading…
Reference in New Issue