lib

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressBar

type ProgressBar interface {
	SetTotal(total int64, triggerComplete bool)
	Increment()
	Current() int64
}

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(sc *stripeClient.API, ow io.Writer, v *viperlib.Viper, l *log.Entry, pb ProgressBar) *Runner

func (*Runner) GenerateLedgerEntries

func (r *Runner) GenerateLedgerEntries() error

type StubProgressBar

type StubProgressBar struct{}

func (*StubProgressBar) Current

func (s *StubProgressBar) Current() int64

func (*StubProgressBar) Increment

func (s *StubProgressBar) Increment()

func (*StubProgressBar) SetTotal

func (s *StubProgressBar) SetTotal(a int64, b bool)

Jump to

Keyboard shortcuts

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