aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-xorm/xorm/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-xorm/xorm/doc.go')
-rw-r--r--vendor/github.com/go-xorm/xorm/doc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/go-xorm/xorm/doc.go b/vendor/github.com/go-xorm/xorm/doc.go
index 51c3a2a8..a687e694 100644
--- a/vendor/github.com/go-xorm/xorm/doc.go
+++ b/vendor/github.com/go-xorm/xorm/doc.go
@@ -8,7 +8,7 @@ Package xorm is a simple and powerful ORM for Go.
Installation
-Make sure you have installed Go 1.5+ and then:
+Make sure you have installed Go 1.6+ and then:
go get github.com/go-xorm/xorm
@@ -90,7 +90,7 @@ another is Rows
5. Update one or more records
- affected, err := engine.Id(...).Update(&user)
+ affected, err := engine.ID(...).Update(&user)
// UPDATE user SET ...
6. Delete one or more records, Delete MUST has condition