I wrote a small application, the essence of which is: there is a .json file, there is a list of users with whom you can perform the following actions from the console:

  • editing user

  • deletion

  • create new user

  • user show by his id

Can someone suggest how to properly organize the structure of this application, because I wrote everything in main.go, and everything turned out difficult to read. Or, for example, to give a link where it is written about it, maybe even regardless of the programming language.

1 answer 1

There is no uniform standard. As sources of inspiration, you can look at: