Documentation ¶
Index ¶
- Variables
- func CacheDir() string
- func ConstructVersion(epoch, version, release string) string
- func Exists(path string) (bool, error)
- func FileWalk(root string, walkFn func(r io.Reader, path string) error) error
- func MustTimeParse(value string) *time.Time
- func UnmarshalJSONFile(v interface{}, fileName string) error
- type ProgressBar
- type Spinner
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Quiet = false
)
Functions ¶
func ConstructVersion ¶
func MustTimeParse ¶
func UnmarshalJSONFile ¶
Types ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
TODO: Expose an interface for progressbar
func PbStartNew ¶
func PbStartNew(total int) *ProgressBar
func (*ProgressBar) Finish ¶
func (p *ProgressBar) Finish()
func (*ProgressBar) Increment ¶
func (p *ProgressBar) Increment()
Click to show internal directories.
Click to hide internal directories.