Use commons for case changes
This commit is contained in:
@@ -7,9 +7,7 @@ import (
|
||||
"fmt"
|
||||
"errors"
|
||||
"reflect"
|
||||
"golang.org/x/text/cases"
|
||||
"golang.org/x/text/language"
|
||||
|
||||
|
||||
"github.com/go-viper/mapstructure/v2"
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
|
||||
@@ -49,8 +47,6 @@ var deferedFuncs map[string]any = make(map[string]any, 0)
|
||||
|
||||
var persist any
|
||||
|
||||
var caseString cases.Caser = cases.Title(language.English)
|
||||
|
||||
type InitProps struct {
|
||||
MongoSysDb string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user