mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
Fix typo
Former-commit-id: c949f746563f0ba08c3762e7ef49280e077b4e99
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user