check
This commit is contained in:
parent
7fbf9095f5
commit
03256699b2
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user