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
If I want to generate code in a different directories like, types on model directory and server in controller directory. How can I generate server code with all types in model directory?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
Thanks for this project. It's amazing!
If I want to generate code in a different directories like, types on model directory and server in controller directory. How can I generate server code with all types in model directory?
And if I run
server option
:But in
controller/PetstoreExpanded/controller_pets.go
It cannot find any types frommodel/PetstoreExpanded/model_pets.go
.Is there any easy way to achieve it? I don't want to edit
controller/PetstoreExpanded/view_pets.go
.Beta Was this translation helpful? Give feedback.
All reactions