From 7c70e8caa98698b85e178f04011fd0d9c88d4d8b Mon Sep 17 00:00:00 2001 From: n4mine Date: Sat, 21 Jan 2017 22:51:25 +0800 Subject: [PATCH] fix: typo (#524) --- engine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine.go b/engine.go index 9e7b0037..54c3a563 100644 --- a/engine.go +++ b/engine.go @@ -573,7 +573,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