chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any
* chore: update goctl interface{} to any
This commit is contained in:
@@ -58,7 +58,7 @@ func genInsert(table Table, withCache, postgreSql bool) (string, string, error)
|
||||
|
||||
output, err := util.With("insert").
|
||||
Parse(text).
|
||||
Execute(map[string]interface{}{
|
||||
Execute(map[string]any{
|
||||
"withCache": withCache,
|
||||
"upperStartCamelObject": camel,
|
||||
"lowerStartCamelObject": stringx.From(camel).Untitle(),
|
||||
@@ -78,7 +78,7 @@ func genInsert(table Table, withCache, postgreSql bool) (string, string, error)
|
||||
return "", "", err
|
||||
}
|
||||
|
||||
insertMethodOutput, err := util.With("insertMethod").Parse(text).Execute(map[string]interface{}{
|
||||
insertMethodOutput, err := util.With("insertMethod").Parse(text).Execute(map[string]any{
|
||||
"upperStartCamelObject": camel,
|
||||
"data": table,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user