I need help
Mehmet Ali Izci
%100 Remote Freelance Senior Software Engineer | E-commerce, NextJS, TypeScript, React, Azure, Go
Every now and then, I get curious. Curious to see what is Back End development looks like from my RGB gradient front end glasses that blinks “JS DEV ! Proceed with Caution”. This time it was Golang.
So I need your help :) What would be the 3 things you would change to follow best practices when it comes to code structure in golang and architechture ?
What are we even building ?
Nothing fancy. Small CRUD API.
We have tasks and assignees. You can:
Database, API and Services ??
Show me
├── README.MD
├── api
│ ├── server.go
│ └── task.go
├── config
│ └── config.go
├── service
│ └── task_service.go
├── storage
│ ├── mongo.go
│ └── storage.go
└── types
│ └── task.go
├── go.mod
├── go.sum
├── main.go
Tell me
Is this scalable ? Is this following golang's best practices ? What would you do differently ? Give me hand