You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All my tables had same prefix like xxx_, for example:
xxx_users
xxx_posts
xxx_tokens
The generated codes like model, dao, routes all have xxx included, like XxxUser , GetAllXxxUser and /xxxuser, /xxxuser/:argId.
I wanna request a new feature like adding something like a param named prefix and auto stripping the prefix when generating codes. The ideal model, dao, routes look likes following User, GetAllUser, /user and /user/:argId
The text was updated successfully, but these errors were encountered:
The latest release v0.9.8 has the following changes
- Added ability to set file naming convention for models, dao, apis and grpc --file_naming={{.}}
- Added ability to set struct naming convention --model_naming={{.}}
All my tables had same prefix like
xxx_
, for example:The generated codes like
model
,dao
, routes all havexxx
included, likeXxxUser
,GetAllXxxUser
and/xxxuser
,/xxxuser/:argId
.I wanna request a new feature like adding something like a param named
prefix
and auto stripping the prefix when generating codes. The idealmodel
,dao
, routes look likes followingUser
,GetAllUser
,/user
and/user/:argId
The text was updated successfully, but these errors were encountered: