mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Fix typo
Former-commit-id: c949f746563f0ba08c3762e7ef49280e077b4e99
This commit is contained in:
parent
b2c5ec03fd
commit
b5235c5fff
|
@ -284,7 +284,7 @@ func (g *Group) Addf(format string, args ...interface{}) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// Err adds an error the the group, it transforms it to an Error type if necessary and returns it.
|
||||
// Err adds an error to the group, it transforms it to an Error type if necessary and returns it.
|
||||
func (g *Group) Err(err error) error {
|
||||
if err == nil {
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user