comparator

package
v0.0.0-...-9f68131 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparator

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

func NewComparator

func NewComparator(input1, input2 int) (*Comparator, error)

func Parse

func Parse(s string) (*Comparator, error)

func (*Comparator) Input1

func (c *Comparator) Input1() int

func (*Comparator) Input2

func (c *Comparator) Input2() int

func (*Comparator) String

func (c *Comparator) String() string

Jump to

Keyboard shortcuts

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