fix: typo

This commit is contained in:
n4mine 2017-01-19 12:38:41 +08:00 committed by GitHub
parent 263f9d3fa5
commit 8943d4525e
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ func (engine *Engine) Id(id interface{}) *Session {
return session.Id(id)
}
// ID mehtod provoide a condition as (id) = ?
// ID method provoide a condition as (id) = ?
func (engine *Engine) ID(id interface{}) *Session {
session := engine.NewSession()
session.IsAutoClose = true