change github.com/go-xorm/xorm to xorm.io/xorm in code examples #23

Merged
lunny merged 1 commits from lightning/manual-en-US:master into master 2020-03-19 06:55:37 +00:00
3 changed files with 6 additions and 6 deletions

View File

@ -52,9 +52,9 @@ go get xorm.io/xorm
* [Manual](http://xorm.io/docs)
* [GoDoc](http://godoc.org/github.com/go-xorm/xorm)
* [GoDoc](https://pkg.go.dev/xorm.io/xorm?tab=doc)
* [GoWalker](http://gowalker.org/github.com/go-xorm/xorm)
* [GoWalker](https://gowalker.org/xorm.io/xorm)
# Discuss
@ -62,7 +62,7 @@ Please visit [Xorm on Google Groups](https://groups.google.com/forum/#!forum/xor
# Contributing
If you want to pull request, please see [CONTRIBUTING](https://github.com/go-xorm/xorm/blob/master/CONTRIBUTING.md)
If you want to pull request, please see [CONTRIBUTING](https://gitea.com/xorm/xorm/src/branch/master/CONTRIBUTING.md)
# LICENSE

View File

@ -5,7 +5,7 @@ One app could create one or more engines. One engine could handle one database.
```Go
import (
_ "github.com/go-sql-driver/mysql"
"github.com/go-xorm/xorm"
"xorm.io/xorm"
)
var engine *xorm.Engine
@ -21,7 +21,7 @@ or
```Go
import (
_ "github.com/mattn/go-sqlite3"
"github.com/go-xorm/xorm"
"xorm.io/xorm"
)
var engines []*xorm.Engine

View File

@ -10,7 +10,7 @@ go get xorm.io/cmd/xorm
and you should install the depends below:
* github.com/go-xorm/xorm
* xorm.io/xorm
* Mysql: [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql)