Explorar o código

remove unused variable

xormplus %!s(int64=8) %!d(string=hai) anos
pai
achega
1a4c1766e7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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(), ...