Please enable JavaScript.
Coggle requires JavaScript to display documents.
Name convention - Coggle Diagram
Name convention
Package
Singular noun
Abbreviate judiciously like: strconv, syscall
Avoid
Avoid stutter
Meaningless package name
Generic package name
Single package name for all API
Name collision
Simplify function name
lowercase
Variable
single-letter identifier
shorthand like: addr, spec...
unique name like: customerAPI
function
MixedCaps for public
mixedCaps for private
folder
like: crypto, container
lowercase
Interface
MixedCased with -er suffix
filename: snake_case