point

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	Name          string
	IsFloat       bool
	AbsoluteInt   int64
	AbsoluteFloat float64
	Percentage    float64
	PercentageNot float64
}

type PointSet

type PointSet struct {
	IsFloat   bool
	PointsMap map[string]Point
}

func NewPointSet

func NewPointSet() PointSet

func (*PointSet) Inflate

func (ps *PointSet) Inflate()

func (*PointSet) Slice

func (ps *PointSet) Slice(sortDesc bool) []Point

func (*PointSet) TotalValueFloat

func (ps *PointSet) TotalValueFloat() float64

Jump to

Keyboard shortcuts

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