ranking

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rankinator

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

Rankinator calculates the rank for you, so you don't have to

func (*Rankinator) Get

func (rankinator *Rankinator) Get(value int) (rank int, err error)

Get returns the calculated rank. Note that the values need to be supplied either in ascending or in descending order.

Jump to

Keyboard shortcuts

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