Answer the question
In order to leave comments, you need to log in
How to correctly name files whose names consist of several words?
What is correct to use as a separator in the names of files and directories, if there is more than one word in the name, "-" or "_" or even write in one word?
Answer the question
In order to leave comments, you need to log in
If you look at "native" packages, and not ported from somewhere. That is with lowercase characters separating words through underscores. Although sometimes there is a hyphen, but very rarely.
If you look at existing projects in Go, everyone uses what they want, since there is no naming standard.
For example:
Names separated by underscores: GORM
Names written together: Docker(Moby)
directories (1) (2)
files
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question