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
Hi, Qiang! I would like to suggest the file naming system for entitys, repository, services and apis, if more then one handler entity in the folder.
For example:
album_item.go for entity
and for folder album: item.api.go item.repository.go item.service.go
This system is very useful for autogeneration in GoLand by Live templates or by cli tool, like it is used in the Google Angular.
I think we need to create GoLand plugin or cli tool for autogenerating code.
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, Qiang! I would like to suggest the file naming system for entitys, repository, services and apis, if more then one handler entity in the folder.
For example:
album_item.go for
entity
and for folder
album
:item.api.go
item.repository.go
item.service.go
This system is very useful for autogeneration in GoLand by Live templates or by cli tool, like it is used in the Google Angular.
I think we need to create GoLand plugin or cli tool for autogenerating code.
Beta Was this translation helpful? Give feedback.
All reactions