浏览代码

Remove unused method

xormplus 9 年之前
父节点
当前提交
f3af72b63d
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      engine.go
  2. 1 1
      rows.go
  3. 1 1
      session.go
  4. 1 1
      xorm.go

+ 1 - 1
engine.go

@@ -24,7 +24,7 @@ import (
 )
 
 // Engine is the major struct of xorm, it means a database manager.
-// Commonly, an application only need one engine
+// Commonly, an application only need one engine.
 type Engine struct {
 	db      *core.DB
 	dialect core.Dialect

+ 1 - 1
rows.go

@@ -104,7 +104,7 @@ func (rows *Rows) Err() error {
 	return rows.lastError
 }
 
-// Scan row record to bean properties
+// Scan row record to bean properties.
 func (rows *Rows) Scan(bean interface{}) error {
 	if rows.lastError != nil {
 		return rows.lastError

+ 1 - 1
session.go

@@ -56,7 +56,7 @@ type Session struct {
 	lastSQLArgs []interface{}
 }
 
-// Clone copy all the session's content and return a new session
+// Clone copy all the session's content and return a new session.
 func (session *Session) Clone() *Session {
 	var sess = *session
 	return &sess

+ 1 - 1
xorm.go

@@ -16,7 +16,7 @@ import (
 )
 
 const (
-	// Version show the xorm's version
+	// Version show the xorm's version.
 	Version string = "0.6.0.0929"
 )