rename to klog

master
Evan Chen 2021-11-04 02:56:46 +08:00
parent d1cdb89bd4
commit 5dc8336b24
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import (
"strconv" "strconv"
"text/template" "text/template"
"kumoly.io/core/log/color" "kumoly.io/lib/klog/color"
) )
func (l *Logger) M(s interface{}, attrs ...color.Attribute) string { func (l *Logger) M(s interface{}, attrs ...color.Attribute) string {

2
go.mod
View File

@ -1,4 +1,4 @@
module kumoly.io/core/log module kumoly.io/lib/klog
go 1.17 go 1.17

View File

@ -5,7 +5,7 @@ import (
"os" "os"
"testing" "testing"
c "kumoly.io/core/log/color" c "kumoly.io/lib/klog/color"
) )
func TestDev(t *testing.T) { func TestDev(t *testing.T) {

2
std.go
View File

@ -4,7 +4,7 @@ import (
"io" "io"
"text/template" "text/template"
"kumoly.io/core/log/color" "kumoly.io/lib/klog/color"
) )
var std = New("") var std = New("")