Browse Source

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 2 years ago
parent
commit
f3053ba01b
  1. 6
      Makefile
  2. 4
      _examples/examples.go
  3. 2
      go.mod
  4. 2
      level.go
  5. 2
      logger.go

6
Makefile

@ -10,4 +10,8 @@ lint:
.PHONY: fmt
fmt:
$(GO) fmt ./...
$(GO) fmt ./...
.PHONY: test
test:
$(GO) test -race ./...

4
_examples/examples.go

@ -4,8 +4,8 @@ import (
"fmt"
"os"
"gitea.com/jolheiser/beaver"
"gitea.com/jolheiser/beaver/color"
"go.jolheiser.com/beaver"
"go.jolheiser.com/beaver/color"
)
func main() {

2
go.mod

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

2
level.go

@ -5,7 +5,7 @@ import (
"strings"
"time"
"gitea.com/jolheiser/beaver/color"
"go.jolheiser.com/beaver/color"
)
var bold = color.New(color.Bold)

2
logger.go

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

Loading…
Cancel
Save