Fix typo in session_get.go (#2398)
- Fix a typo in error message: "unspoorted" should be "unsupported" Signed-off-by: weeee9 <teletubby332@gmail.com> Reviewed-on: https://gitea.com/xorm/xorm/pulls/2398 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: weeee9 <teletubby332@gmail.com> Co-committed-by: weeee9 <teletubby332@gmail.com>
This commit is contained in:
parent
70c6978fc4
commit
ac3be4148e
|
@ -240,7 +240,7 @@ func (session *Session) getSlice(rows *core.Rows, types []*sql.ColumnType, field
|
|||
}
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("unspoorted slice type: %t", t)
|
||||
return fmt.Errorf("unsupported slice type: %t", t)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -269,7 +269,7 @@ func (session *Session) getMap(rows *core.Rows, types []*sql.ColumnType, fields
|
|||
}
|
||||
return nil
|
||||
default:
|
||||
return fmt.Errorf("unspoorted map type: %t", t)
|
||||
return fmt.Errorf("unsupported map type: %t", t)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue