fix golint issues in core/logx (#496)

This commit is contained in:
Kevin Wan
2021-02-20 22:45:58 +08:00
committed by GitHub
parent dac00d10c1
commit 226513ed60
9 changed files with 74 additions and 28 deletions

View File

@@ -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,