This commit is contained in:
Marek Goc 2024-11-14 17:10:06 +01:00
parent 7fbf9095f5
commit 03256699b2

View File

@ -6,7 +6,7 @@ type config struct {
Tag string Tag string
} }
// newConfig creates a validated Config configured with options. // newConfig creates a validated Config configured with options
func newConfig(options ...Option) (config, error) { func newConfig(options ...Option) (config, error) {
cfg := config{} cfg := config{}
for _, opt := range options { for _, opt := range options {