Versions in this module Expand all Collapse all v0 v0.0.3 Dec 4, 2022 v0.0.2 Nov 16, 2022 Changes in this version + var ConfigDir string + var DefaultConfigFile string + var ErrConfigNotMatch = "no config matchs" + var ErrEmptyEndpoint = "no endpoint has been set" + var RootCmd = &cobra.Command + var VersionWrapDump = "" + func Execute() + func SaveConfig(conf *Config) error + type Config struct + APIKey string + Ledger bool + NoPretty bool + Node string + Timeout uint32 + Verbose bool + WithTLS bool + func LoadConfig() (*Config, error) + type GitHubRelease struct + Assets []GitHubReleaseAssets + CreatedAt time.Time + Prerelease bool + TagName string + TargetCommitish string + type GitHubReleaseAssets struct + ID json.Number + Name string + Size json.Number + URL string + type GitHubTag struct + DATA struct{ ... } + NodeID string + Ref string + URL string