File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type GeneratedStructImpl struct {
4040var _ GeneratedStruct = & GeneratedStructImpl {}
4141
4242func NewGeneratedStruct (val any ) * GeneratedStructImpl {
43- return NewGeneratedStructWithConfig (val , generator .NewGenerationFunctionDefaults (generator .NewGenerationConfig ()))
43+ return NewGeneratedStructWithConfig (val , generator .NewGenerator (generator .NewGenerationConfig ()))
4444}
4545
4646func NewGeneratedStructWithConfig (val any ,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ type Generator struct {
3939 DefaultGenerationFunctions DefaultGenerationFunctionType
4040}
4141
42- func NewGenerationFunctionDefaults (gc * GenerationConfig ) * Generator {
42+ func NewGenerator (gc * GenerationConfig ) * Generator {
4343
4444 defaultGenerationFunctions := make (DefaultGenerationFunctionType )
4545 defaultGenerationFunctions [reflect .String ] = GenerateFixedValueFunc ("string" )
You can’t perform that action at this time.
0 commit comments