1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-31 00:37:05 +00:00

release v12.2.8

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-11-05 22:20:20 +02:00
parent 2fa427e264
commit e2f0224332
20 changed files with 103 additions and 38 deletions

View File

@@ -11,6 +11,7 @@ import (
// DefaultTag is the default struct field tag.
var DefaultTag = "db"
// ColumnNameFunc is the function which converts a struct field name to a database column name.
type ColumnNameFunc = func(string) string
func convertStructToColumns(typ reflect.Type, nameFunc ColumnNameFunc) (map[string]*Column, error) {