Should a struct field be named HTTPClient
or HTTPclient
?
Asked
Active
Viewed 64 times
2
1 Answers
1
You have HTTP and Client so HTTPClient, and, for lower case, httpClient.

peterSO
- 158,998
- 31
- 281
- 276
-
Why is `fmt.Fprintf` than not named `fmt.FPrintF`? – Jul 15 '18 at 10:29
-
1@R3turnz: `fmt.Fprintf` is from the C language function name `fprintf`. – peterSO Jul 15 '18 at 10:45