code format
This commit is contained in:
parent
155220a3b2
commit
fe1acddcc8
@ -363,7 +363,7 @@ func (this *dbPool) internalQueryOne(dataSource string, sql string, params []str
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
dataSet = NewDataSet(rows)
|
dataSet = NewDataSet(rows)
|
||||||
}
|
}
|
||||||
GetSysLog().Info("xxxxxxxxxxxxxxxxxxx")
|
|
||||||
if this.style == GO_STYLE_DB {
|
if this.style == GO_STYLE_DB {
|
||||||
cb(err, dataSet)
|
cb(err, dataSet)
|
||||||
} else {
|
} else {
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
package f5
|
package f5
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"reflect"
|
|
||||||
"q5"
|
|
||||||
"os"
|
|
||||||
"bufio"
|
"bufio"
|
||||||
"fmt"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
|
"os"
|
||||||
|
"q5"
|
||||||
|
"reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MetaTable interface {
|
type MetaTable interface {
|
||||||
|
3
types.go
3
types.go
@ -11,7 +11,6 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type MsgNode struct {
|
type MsgNode struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type IMMsgNode struct {
|
type IMMsgNode struct {
|
||||||
@ -31,7 +30,7 @@ type Pagination struct {
|
|||||||
type HandlerFunc func(*Context)
|
type HandlerFunc func(*Context)
|
||||||
|
|
||||||
type QueryResultCb func(error, *DataSet)
|
type QueryResultCb func(error, *DataSet)
|
||||||
type QueryOneCb func (error, *[]*string)
|
type QueryOneCb func(error, *DataSet)
|
||||||
type PageQueryCb func(error, *Pagination)
|
type PageQueryCb func(error, *Pagination)
|
||||||
type ExecResultCb func(error, int64, int64)
|
type ExecResultCb func(error, int64, int64)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user