From 60d11ae8c16673b3f48d361a72521bc898b12526 Mon Sep 17 00:00:00 2001 From: TossPig Date: Sun, 23 Nov 2014 18:04:22 +0800 Subject: [PATCH] fmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 多了个空格。。。 --- statement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statement.go b/statement.go index 3f063140..6c586ae6 100644 --- a/statement.go +++ b/statement.go @@ -507,7 +507,7 @@ func buildConditions(engine *Engine, table *core.Table, bean interface{}, } if col.IsDeleted && !unscoped { // tag "deleted" is enabled - colNames = append(colNames, fmt.Sprintf("(%v IS NULL or %v = '0001-01-01 00:00:00') ", engine.Quote(col.Name), engine.Quote(col.Name))) + colNames = append(colNames, fmt.Sprintf("(%v IS NULL or %v = '0001-01-01 00:00:00')", engine.Quote(col.Name), engine.Quote(col.Name))) } fieldValue := *fieldValuePtr