change github.com/go-xorm/xorm to xorm.io/xorm in code examples #23
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Reference in New Issue
Block a user