From d79505a148318f50679147fe229692e84d0de7d5 Mon Sep 17 00:00:00 2001 From: Jan Rada <31016933+ZelvaMan@users.noreply.github.com> Date: Sun, 22 Oct 2023 14:34:58 +0200 Subject: [PATCH] Update readme --- readme.md | 4 ++-- src/types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"`