Is there a common convention in Go to name files that contain compound words?
For example I wrote an implementation of the Weighted Union Find algorithm and put it into its own source file. How should I name the file?
// mixed case
weightedUnionFind.go
// lower case
weightedunionfind.go
// snake case
weighted_union_find.go
I found only a convention regarding package names and the following question about file naming conventions in general, What are conventions for filenames in Go?.
Therefore I grepped through Go package source files and ended up with weightedunionfind.go
.