fix golint issues in core/logx (#496)
This commit is contained in:
@@ -7,7 +7,7 @@ type lessWriter struct {
|
||||
writer io.Writer
|
||||
}
|
||||
|
||||
func NewLessWriter(writer io.Writer, milliseconds int) *lessWriter {
|
||||
func newLessWriter(writer io.Writer, milliseconds int) *lessWriter {
|
||||
return &lessWriter{
|
||||
limitedExecutor: newLimitedExecutor(milliseconds),
|
||||
writer: writer,
|
||||
|
||||
Reference in New Issue
Block a user