💡 Fix a few go doc comments

This commit is contained in:
Dan Jones 2025-03-31 15:46:48 -05:00
commit 70c74c2b03
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ type Config struct {
generator Generator
}
// NewConfig returns a new [Config] with the specified [Option]s.
// NewConfig returns a new [Config] with each [Option] specified.
// With no Options, the Config uses an extension of .txt, a separator
// of _, and the [UUID] [Generator].
func NewConfig(options ...Option) Config {
@ -25,7 +25,7 @@ func NewConfig(options ...Option) Config {
return conf
}
// AddOptions creates a new [Config] with the given [Option]s added.
// AddOptions creates a new [Config] with each [Option] added.
func (c Config) AddOptions(options ...Option) Config {
for _, opt := range options {
opt(&c)