sqlstruct icon indicating copy to clipboard operation
sqlstruct copied to clipboard

default NameMapper

Open foobarhe opened this issue 8 years ago • 1 comments

I believe its better to define the default NameMapper as: sqlstruct.NameMapper = func (a string) string { return a }

since in most condition, users just want to use the value they defined in the "sql" tag. Not lower them as it is now...

foobarhe avatar Sep 22 '17 06:09 foobarhe

Maybe, but I'm not going to change it now.

kisielk avatar Dec 05 '17 16:12 kisielk