ardanlabs / service

Starter-kit for writing services in Go using Kubernetes.
https://www.ardanlabs.com
Apache License 2.0
3.4k stars 613 forks source link

Naming files #361

Closed mrbardia72 closed 1 month ago

mrbardia72 commented 2 months ago

I think it is better to name the files and folders as follows

usergrp ==> user_grp homegrep ===> home_grp

For better readability

ardan-bkennedy commented 1 month ago

I would not do this. Even though the compiler will let you, this is not idiomatic. The language uses the underscore to provide the compiler information such as, _test for a test file and package. Another example is _darwin where you are specifying the OS.

There needs to be a unique package name and I think grp is small and solves the problem.