Here the rules i want to apply to this repo :
-
Give domain prefix at function, to create a new instance
func NewSellerService() {}
-
Give domain prefix at variable name
sellerID := "examples"
-
If there is one dependency to service, or another just give service name dont give a namespace. (but for domain, just give a service name)
(GOOD) type SellerPresentation struct { service: "xxxx" } (BAD) type SellerPresentation struct { sellerService: "xxxx" // if there is one service dont give a namespace, but if more then give it }
- Dont give separator at filename
- Dont forget to create testing unit (later)