MCPcopy Index your code
hub / github.com/schollz/progressbar / ExampleOptionShowCount_minuscule

Function ExampleOptionShowCount_minuscule

progressbar_test.go:172–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func ExampleOptionShowCount_minuscule() {
173 bar := NewOptions(10000, OptionSetWidth(10), OptionShowCount(), OptionSetPredictTime(false))
174 bar.Add(1)
175 // Output:
176 // 0% | | (1/10000)
177}
178
179func ExampleOptionSetPredictTime() {
180 bar := NewOptions(100, OptionSetWidth(10), OptionSetPredictTime(false))

Callers

nothing calls this directly

Calls 5

NewOptionsFunction · 0.85
OptionSetWidthFunction · 0.85
OptionShowCountFunction · 0.85
OptionSetPredictTimeFunction · 0.85
AddMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…