refactory: read,write use channel
This commit is contained in:
1 parent
c194bec3e3
commit
e4d5a1be76
9 files changed
+150
-168
No files matched your search
@@ -48,3 +48,7 @@ func Error(msg string, data ...any) {
|
||||
_, _ = fmt.Fprintf(buf, msg, data...)
|
||||
fmt.Println(buf.String())
|
||||
}
|
||||
|
||||
type WroteLogger interface {
|
||||
Info(msg string, data ...any)
|
||||
}
|
||||
Reference in new issue
Block a user