Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa2e76cef1 | ||
|
|
39c743f551 |
8
go.mod
8
go.mod
@@ -7,7 +7,8 @@ require (
|
|||||||
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
|
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
|
||||||
github.com/kr/text v0.2.0 // indirect
|
github.com/kr/text v0.2.0 // indirect
|
||||||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
||||||
github.com/p9c/log v0.0.6
|
github.com/p9c/interrupt
|
||||||
|
github.com/p9c/log v0.0.4
|
||||||
github.com/p9c/qu v0.0.3
|
github.com/p9c/qu v0.0.3
|
||||||
github.com/stretchr/testify v1.6.1 // indirect
|
github.com/stretchr/testify v1.6.1 // indirect
|
||||||
go.uber.org/atomic v1.7.0
|
go.uber.org/atomic v1.7.0
|
||||||
@@ -16,3 +17,8 @@ require (
|
|||||||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
|
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
|
||||||
gopkg.in/src-d/go-git.v4 v4.13.1
|
gopkg.in/src-d/go-git.v4 v4.13.1
|
||||||
)
|
)
|
||||||
|
replace (
|
||||||
|
github.com/p9c/log => ../log
|
||||||
|
github.com/p9c/qu => ../qu
|
||||||
|
github.com/p9c/interrupt => ../interrupt
|
||||||
|
)
|
||||||
|
|||||||
2
log.go
2
log.go
@@ -2,7 +2,7 @@ package interrupt
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/p9c/log"
|
"github.com/p9c/log"
|
||||||
"github.com/p9c/qu/version"
|
"github.com/p9c/interrupt/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
var F, E, W, I, D, T = log.GetLogPrinterSet(log.AddLoggerSubsystem(version.PathBase))
|
var F, E, W, I, D, T = log.GetLogPrinterSet(log.AddLoggerSubsystem(version.PathBase))
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ var (
|
|||||||
// GitRef is the gitref, as in refs/heads/branchname
|
// GitRef is the gitref, as in refs/heads/branchname
|
||||||
GitRef = "refs/heads/main"
|
GitRef = "refs/heads/main"
|
||||||
// GitCommit is the commit hash of the current HEAD
|
// GitCommit is the commit hash of the current HEAD
|
||||||
GitCommit = "86a6516bbff5524c52f475ed124b7f8f27ad219d"
|
GitCommit = "0b9edd924034775ae337ca15a00a20629ff130c3"
|
||||||
// BuildTime stores the time when the current binary was built
|
// BuildTime stores the time when the current binary was built
|
||||||
BuildTime = "2021-04-30T18:33:26+02:00"
|
BuildTime = "2021-04-30T19:56:38+02:00"
|
||||||
// Tag lists the Tag on the build, adding a + to the newest Tag if the commit is
|
// Tag lists the Tag on the build, adding a + to the newest Tag if the commit is
|
||||||
// not that commit
|
// not that commit
|
||||||
Tag = "v0.0.3"
|
Tag = "v0.0.4"
|
||||||
// PathBase is the path base returned from runtime caller
|
// PathBase is the path base returned from runtime caller
|
||||||
PathBase = "/home/loki/src/github.com/p9c/pod/pkg/interrupt/"
|
PathBase = "/home/loki/src/github.com/p9c/pod/pkg/interrupt/"
|
||||||
// Major is the major number from the tag
|
// Major is the major number from the tag
|
||||||
@@ -26,7 +26,7 @@ var (
|
|||||||
// Minor is the minor number from the tag
|
// Minor is the minor number from the tag
|
||||||
Minor = 0
|
Minor = 0
|
||||||
// Patch is the patch version number from the tag
|
// Patch is the patch version number from the tag
|
||||||
Patch = 3
|
Patch = 4
|
||||||
// Meta is the extra arbitrary string field from Semver spec
|
// Meta is the extra arbitrary string field from Semver spec
|
||||||
Meta = ""
|
Meta = ""
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user