Browse Source

remove unused variable

xormplus 8 years ago
parent
commit
1a4c1766e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      session.go

+ 2 - 2
session.go

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