diff --git a/readme.md b/readme.md index 032712b..5184e2c 100644 --- a/readme.md +++ b/readme.md @@ -81,7 +81,7 @@ type Property struct { MapperFunction string } -type Function struct { +type Routine struct { FunctionName string DbFullFunctionName string ModelName string @@ -95,7 +95,7 @@ type Function struct { } type DbContextData struct { - Functions []Function + Functions []Routine } ``` \ No newline at end of file diff --git a/src/types.go b/src/types.go index ef1c745..dba7559 100644 --- a/src/types.go +++ b/src/types.go @@ -36,7 +36,7 @@ const ( type Config struct { Command Command - PathBase string //everything should be relative to config file + PathBase string //for now just using config folder ConnectionString string `json:"ConnectionString"` OutputFolder string `json:"OutputFolder,omitempty"` GenerateModels bool `json:"GenerateModels,omitempty"`