💡 Fix a few go doc comments
This commit is contained in:
parent
81e04ea319
commit
70c74c2b03
3 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue