chore: coding style (#3074)

This commit is contained in:
Kevin Wan
2023-03-29 00:34:22 +08:00
committed by GitHub
parent 50bc361430
commit 9065eb90d9
7 changed files with 137 additions and 19 deletions

View File

@@ -21,7 +21,7 @@ func (e *errorManager) add(err error) {
}
func (e *errorManager) error() error {
if len(e.errors)==0{
if len(e.errors) == 0 {
return nil
}
return fmt.Errorf(strings.Join(e.errors, "\n"))