chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any
* chore: update goctl interface{} to any
This commit is contained in:
@@ -5,12 +5,12 @@ import (
|
||||
)
|
||||
|
||||
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
|
||||
func FieldNames(in interface{}) []string {
|
||||
func FieldNames(in any) []string {
|
||||
return builder.RawFieldNames(in)
|
||||
}
|
||||
|
||||
// Deprecated: Use github.com/zeromicro/go-zero/core/stores/builder.RawFieldNames instead.
|
||||
func RawFieldNames(in interface{}, postgresSql ...bool) []string {
|
||||
func RawFieldNames(in any, postgresSql ...bool) []string {
|
||||
return builder.RawFieldNames(in, postgresSql...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user