types

package
v0.0.0-...-0c120d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketFile

type BucketFile string

type BucketName

type BucketName string

type FileString

type FileString string

type Root

type Root struct {
	Cfg        string `help:"Config file in json format (NOTE file entries take precedence over command-line flags & env)" json:"-"`
	DumpConfig bool   `help:"Dump the config to stdout and exits" json:"-"`
}

Root struct for commands Field tags control where the values come from If opts:"-" yaml:"-" are set in object creation

opts:="-" come from config file
yaml:="-" come from command line flags

func (Root) Config

func (rt Root) Config(in interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL