Skip to content

Commit

Permalink
add doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Feb 26, 2024
1 parent e42533e commit 86075b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dsn.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func NewConfig() *Config {
return cfg
}

// Apply applies the given options to the Config object.
func (c *Config) Apply(opts ...Option) error {
for _, opt := range opts {
err := opt(c)
Expand Down

0 comments on commit 86075b6

Please sign in to comment.