Update import (#1)
Update import Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: https://gitea.com/jolheiser/beaver/pulls/1pull/2/head v1.0.1
parent
45decbb778
commit
f3053ba01b
4
Makefile
4
Makefile
|
@ -11,3 +11,7 @@ lint:
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt:
|
fmt:
|
||||||
$(GO) fmt ./...
|
$(GO) fmt ./...
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test:
|
||||||
|
$(GO) test -race ./...
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"gitea.com/jolheiser/beaver"
|
"go.jolheiser.com/beaver"
|
||||||
"gitea.com/jolheiser/beaver/color"
|
"go.jolheiser.com/beaver/color"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module gitea.com/jolheiser/beaver
|
module go.jolheiser.com/beaver
|
||||||
|
|
||||||
go 1.12
|
go 1.12
|
||||||
|
|
||||||
|
|
2
level.go
2
level.go
|
@ -5,7 +5,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.com/jolheiser/beaver/color"
|
"go.jolheiser.com/beaver/color"
|
||||||
)
|
)
|
||||||
|
|
||||||
var bold = color.New(color.Bold)
|
var bold = color.New(color.Bold)
|
||||||
|
|
Reference in New Issue