snapshot of https://github.com/uber-go/guide.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
8
src/function-name.md
Normal file
8
src/function-name.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Function Names
|
||||
|
||||
We follow the Go community's convention of using [MixedCaps for function
|
||||
names]. An exception is made for test functions, which may contain underscores
|
||||
for the purpose of grouping related test cases, e.g.,
|
||||
`TestMyFunction_WhatIsBeingTested`.
|
||||
|
||||
[MixedCaps for function names]: https://go.dev/doc/effective_go#mixed-caps
|
||||
Reference in New Issue
Block a user