mirror of
https://github.com/aykhans/sarin.git
synced 2026-10-17 14:53:52 +00:00
🔨 Add 'types' package
This commit is contained in:
1 parent
7a40bbbd3c
commit
3068e0acae
4 files changed
+54
-11
No files matched your search
+2
-1
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/aykhans/dodo/config"
|
||||
"github.com/aykhans/dodo/custom_errors"
|
||||
. "github.com/aykhans/dodo/types"
|
||||
"github.com/aykhans/dodo/utils"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
@@ -61,7 +62,7 @@ func CLIConfigReader() (*config.CLIConfig, error) {
|
||||
case "timeout":
|
||||
cliConfig.Timeout = timeout
|
||||
case "no-proxy-check":
|
||||
cliConfig.NoProxyCheck = utils.NewOption(noProxyCheck)
|
||||
cliConfig.NoProxyCheck = NewOption(noProxyCheck)
|
||||
}
|
||||
})
|
||||
if returnNil {
|
||||
|
||||
Reference in new issue
Block a user