fix golint issues in core/errorx (#480)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package errorx
|
||||
|
||||
// Chain runs funs one by one until an error occurred.
|
||||
func Chain(fns ...func() error) error {
|
||||
for _, fn := range fns {
|
||||
if err := fn(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user