chartbar

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrderOrigin = iota + 1 // 原始序
	OrderAsc               // 升序
	OrderDesc              // 降序
)

Variables

This section is empty.

Functions

func WithCsv

func WithCsv(filename string) (string, error)

func WithItems

func WithItems(items []Item) (string, error)

func WithMap

func WithMap(m map[string]int) (string, error)

func WithMapFloat

func WithMapFloat(m map[string]float64) (string, error)

Types

type Item

type Item struct {
	Name string  // key
	Num  float64 // value
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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