Add Dependencies info to README.md.
This commit is contained in:
parent
f34c5e7fe8
commit
55e8c3bbb1
10 changed files with 79 additions and 43 deletions
4
utils.go
4
utils.go
|
|
@ -2,7 +2,7 @@ package jet
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/go-jet/jet/internal/util"
|
||||
"github.com/go-jet/jet/internal/utils"
|
||||
"reflect"
|
||||
"strings"
|
||||
)
|
||||
|
|
@ -145,7 +145,7 @@ func unwindRowFromModel(columns []column, data interface{}) []clause {
|
|||
|
||||
for _, column := range columns {
|
||||
columnName := column.Name()
|
||||
structFieldName := util.ToGoIdentifier(columnName)
|
||||
structFieldName := utils.ToGoIdentifier(columnName)
|
||||
|
||||
structField := structValue.FieldByName(structFieldName)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue