utils

package
v0.0.0-...-04ebf03 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a []string, b *[]string) bool

func HandleTerminalSignal

func HandleTerminalSignal() chan struct{}

func IsUrl

func IsUrl(urlToCheck string) bool

func Shutdown

func Shutdown()

func ToPtr

func ToPtr[T any](t T) *T

Types

type Distance

type Distance struct {
	Object interface{}
	Dist   float64
}

type Distances

type Distances []Distance

func (Distances) Len

func (d Distances) Len() int

func (Distances) Less

func (d Distances) Less(i, j int) bool

func (Distances) Swap

func (d Distances) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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