Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tagformat/caseconversion/case_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ func (g *GoCaseConverter) AddInitialism(initialism ...string) {
g.SetInitialisms(append(g.initialisms, initialism...))
}

// SetAtoms replaces the set of atoms used by the GoCaseConverter with the
// argument. Atoms will specifically not be split at word boundaries and should
// SetAtoms sets the atoms used by the GoCaseConverter with the argument.
// If any atoms were previously set, SetAtoms replaces them. The set of atoms is
// initially empty, unlike the set of initialisms.
// Atoms will specifically not be split at word boundaries and should
// be provided in the exported-name format as in "ABTest". Attemping to add an
// atom less than two characters in length will cause a panic. Also, any
// duplicates in the list of atoms will be removed.
Expand Down
Loading