code format

This commit is contained in:
殷勇 2023-09-04 18:29:00 +08:00
parent 155220a3b2
commit fe1acddcc8
3 changed files with 25 additions and 26 deletions

View File

@ -363,7 +363,7 @@ func (this *dbPool) internalQueryOne(dataSource string, sql string, params []str
if err == nil {
dataSet = NewDataSet(rows)
}
GetSysLog().Info("xxxxxxxxxxxxxxxxxxx")
if this.style == GO_STYLE_DB {
cb(err, dataSet)
} else {

View File

@ -1,12 +1,12 @@
package f5
import (
"reflect"
"q5"
"os"
"bufio"
"fmt"
"encoding/json"
"fmt"
"os"
"q5"
"reflect"
)
type MetaTable interface {

View File

@ -11,7 +11,6 @@ const (
)
type MsgNode struct {
}
type IMMsgNode struct {
@ -31,7 +30,7 @@ type Pagination struct {
type HandlerFunc func(*Context)
type QueryResultCb func(error, *DataSet)
type QueryOneCb func (error, *[]*string)
type QueryOneCb func(error, *DataSet)
type PageQueryCb func(error, *Pagination)
type ExecResultCb func(error, int64, int64)