data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccuracyTestType   = "accuracy"
	SimilarityTestType = "similarity"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

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

func (*Data) Append

func (d *Data) Append(x string, y float64, link string)
func (d *Data) Link(i int) string

func (*Data) N

func (d *Data) N() int

func (*Data) X

func (d *Data) X(i int) string

func (*Data) Y

func (d *Data) Y(i int) float64

type History

type History struct {
	Data   Data
	Option Option
}

func QueryHistory

func QueryHistory(dir, id, commit string) (*History, error)

type Option

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

func (*Option) LineChartColor

func (o *Option) LineChartColor() string

func (*Option) LineChartSymbol

func (o *Option) LineChartSymbol() string
func (o *Option) Link() string
func (o *Option) SubLink() string

func (*Option) Subtitle

func (o *Option) Subtitle() string

func (*Option) Title

func (o *Option) Title() string

func (*Option) XName

func (o *Option) XName() string

func (*Option) YName

func (o *Option) YName() string

Jump to

Keyboard shortcuts

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