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/1
pull/2/head v1.0.1
John Olheiser 2020-02-20 17:25:24 +00:00
parent 45decbb778
commit f3053ba01b
5 changed files with 10 additions and 6 deletions

View File

@ -11,3 +11,7 @@ lint:
.PHONY: fmt .PHONY: fmt
fmt: fmt:
$(GO) fmt ./... $(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...

View File

@ -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
View File

@ -1,4 +1,4 @@
module gitea.com/jolheiser/beaver module go.jolheiser.com/beaver
go 1.12 go 1.12

View File

@ -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)

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"gitea.com/jolheiser/beaver/color" "go.jolheiser.com/beaver/color"
) )
// Logger is a base Beaver logger // Logger is a base Beaver logger