Remove version
This commit is contained in:
parent
a374b047b1
commit
60eed6608a
|
@ -367,8 +367,8 @@ func (engine *Engine) dumpTables(tables []*schemas.Table, w io.Writer, tp ...sch
|
|||
distDBName = string(tp[0])
|
||||
}
|
||||
|
||||
_, err := io.WriteString(w, fmt.Sprintf("/*Generated by xorm v%s %s, from %s to %s*/\n\n",
|
||||
Version, time.Now().In(engine.TZLocation).Format("2006-01-02 15:04:05"), engine.dialect.URI().DBType, strings.ToUpper(distDBName)))
|
||||
_, err := io.WriteString(w, fmt.Sprintf("/*Generated by xorm %s, from %s to %s*/\n\n",
|
||||
time.Now().In(engine.TZLocation).Format("2006-01-02 15:04:05"), engine.dialect.URI().DBType, strings.ToUpper(distDBName)))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
7
xorm.go
7
xorm.go
|
@ -2,7 +2,7 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build go1.8
|
||||
// +build go1.11
|
||||
|
||||
package xorm
|
||||
|
||||
|
@ -20,11 +20,6 @@ import (
|
|||
"xorm.io/xorm/tags"
|
||||
)
|
||||
|
||||
const (
|
||||
// Version show the xorm's version
|
||||
Version string = "0.8.0.1015"
|
||||
)
|
||||
|
||||
func close(engine *Engine) {
|
||||
engine.Close()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue