# Functions
CleanUpGeneratedFiles deletes everything at folder dir.
DBClose closes non nil db connection.
DirExists checks if folder at path exist.
EnsureDirPath ensures dir path exists.
ErrorCatch is used in defer to recover from panics and to set err.
ExtractDateTimeComponents extracts number of days, hours, minutes, seconds, microseconds from duration.
IsNil check if v is nil.
MustBe panics with errorStr error, if v interface is not of reflect kind.
MustBeInitializedPtr panics with errorStr if val interface is nil.
MustBeTrue panics when condition is false.
PanicOnError panics if err is not nil.
SaveGoFile saves go file at folder dir, with name fileName and contents text.
StringSliceContains checks if slice of strings contains a string.
ToGoEnumValueIdentifier converts enum value name to Go identifier name.
ToGoFileName converts database identifier to Go file name.
ToGoIdentifier converts database to Go identifier.
TypeMustBe panics with errorStr error, if v type is not of reflect kind.
ValueMustBe panics with errorStr error, if v value is not of reflect kind.