chore: add golangci-lint config file (#2519)

* chore: add golangci-lint config file

* chore: member alignment
This commit is contained in:
Kevin Wan
2022-10-14 22:45:48 +08:00
committed by GitHub
parent 776673d57d
commit d4c9fd2aff
8 changed files with 72 additions and 11 deletions

View File

@@ -361,7 +361,6 @@ func writePlainText(writer io.Writer, level, msg string, fields ...string) {
if _, err := writer.Write(buf.Bytes()); err != nil {
log.Println(err.Error())
}
}
func writePlainValue(writer io.Writer, level string, val interface{}, fields ...string) {