go-clean-arch icon indicating copy to clipboard operation
go-clean-arch copied to clipboard

refactor: The main function and some writes what I think is a better practice

Open uptutu opened this issue 3 years ago • 3 comments

Thanks for this repo. I have learnt a lot from it.

I have also tried to modify some of the code to my current knowledge to try to make the whole repository more like a Go project as I know it.

I look forward to discussing some of the relevant changes with you under this PR.

ref: uber-go style guide

uptutu avatar Oct 09 '22 08:10 uptutu

to bring the project closer to the Go project

What&which "Go project" do you mean? I think there is no standard project layout that initially came from Go / Go authors.

Ajilagi avatar Oct 09 '22 08:10 Ajilagi

What&which "Go project" do you mean? I think there is no standard project layout that initially came from Go / Go authors.

This is a good question, it is true that there is no official standard, and what I have is simply a style that I think is better, I guess.

Like what this repo is showing, or trying to express, I'm just relying on some of the knowledge that I have and doing what I think is a better practice.

I am very sorry for my title. This is very careless.

uptutu avatar Oct 09 '22 09:10 uptutu

What do you think about applying the GolangCI linter? Would it be help?

bxcodec avatar Dec 09 '22 14:12 bxcodec