mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 08:29:58 +08:00
chore: coding style (#3074)
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user