bar

package
v0.0.0-...-b1b21d8 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(total int64, options ...ClientOption) *Client

func (*Client) Print

func (obj *Client) Print(curs ...int64)

打印进度条

type ClientOption

type ClientOption struct {
	Cur   int64  //当前数量
	Shape string //进度条图像
}

Jump to

Keyboard shortcuts

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