Skip to content

Commit

Permalink
rename struct
Browse files Browse the repository at this point in the history
  • Loading branch information
beckend committed May 19, 2021
1 parent 13b38f8 commit c5c1a2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type CallbackNewOptions struct {

// NewOptions GetConfig options
type NewOptions struct {
CreateConfig CallbackGetConfig
CreateConfig CallNewConfig
EnvKeyRunEnv string
PathConfigs string
}
Expand Down Expand Up @@ -88,8 +88,8 @@ func New(options NewOptions) interface{} {
}

type (
// CallbackGetConfig type to be used in struct
CallbackGetConfig func(options CallbackNewOptions) interface{}
// CallNewConfig type to be used in struct
CallNewConfig func(options CallbackNewOptions) interface{}
// CallbackGeneric type to be used in struct
CallbackGeneric func(x ...interface{})
// CallbackValidate type to be used in struct
Expand Down

0 comments on commit c5c1a2f

Please sign in to comment.