瀏覽代碼

remove unused variable

xormplus 8 年之前
父節點
當前提交
1a4c1766e7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      session.go

+ 2 - 2
session.go

@@ -28,8 +28,8 @@ type Session struct {
 	IsAutoCommit           bool
 	IsCommitedOrRollbacked bool
 	IsSqlFunc              bool
-	TransType              string
-	IsAutoClose            bool
+
+	IsAutoClose bool
 
 	// Automatically reset the statement after operations that execute a SQL
 	// query such as Count(), Find(), Get(), ...