Browse Source

Make it a go mod

Erdi Chen 3 years ago
parent
commit
6075141bea
3 changed files with 8 additions and 1 deletions
  1. 5 0
      go.mod
  2. 2 0
      go.sum
  3. 1 1
      klog.go

+ 5 - 0
go.mod

@@ -0,0 +1,5 @@
+module erdi.us/erdi/log
+
+go 1.17
+
+require github.com/go-logr/logr v0.4.0

+ 2 - 0
go.sum

@@ -0,0 +1,2 @@
+github.com/go-logr/logr v0.4.0 h1:K7/B1jt6fIBQVd4Owv2MqGQClcgf0R266+7C/QjRcLc=
+github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=

+ 1 - 1
klog.go

@@ -91,7 +91,7 @@ import (
 
 	"github.com/go-logr/logr"
 
-	"erdi.us/aylang/log/color"
+	"erdi.us/erdi/log/color"
 )
 
 // severity identifies the sort of log: info, warning etc. It also implements