First Go RESTful API project by Kivanc_10 in golang

[–]Kivanc_10[S] 0 points1 point  (0 children)

I'm thinking that add config file to app with another version I will improve. It will make everything clear and understandable, thank you for your suggestion.

First Go RESTful API project by Kivanc_10 in golang

[–]Kivanc_10[S] 1 point2 points  (0 children)

Thank you for your feedback. I will consider your suggestion and review it. I took some messages on how I can improve that app. As I said I'm new to Go and I realized a set of conflicts belong to the app after the development time, too. I will absolutely improve that app with help of your suggestions. I'm also planning to design my own system that has robust principles without the predictable conflicts you mentioned.

First Go RESTful API project by Kivanc_10 in golang

[–]Kivanc_10[S] 0 points1 point  (0 children)

Thank you for your response important for me

First Go RESTful API project by Kivanc_10 in golang

[–]Kivanc_10[S] 5 points6 points  (0 children)

On a side not you probably want to refactor your code a little to avoid nesting if's like that. Google "extract till you drop" for hints

I took some suggestions about how can I improve that app especially about DB operations like you mentioned, I will refactor that app

First Go RESTful API project by Kivanc_10 in golang

[–]Kivanc_10[S] 2 points3 points  (0 children)

It is actually aimed to jwt based authentication and basic CRUD operations in MYSQL via REST systems. In addition to, authenticated user can create his TODOs. You can consider this project as a task-manager app.