@@ -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
@@ -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 {
@@ -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
@@ -16,7 +16,7 @@ import (
const (
- // Version show the xorm's version
+ // Version show the xorm's version.
Version string = "0.6.0.0929"