_interface

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 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 CmpKey

type CmpKey[T comparable] interface {
	CmpKey() T
}

type Equal

type Equal func(a, b interface{}) bool

type Get

type Get interface {
	Get(key string) string
}

type Init

type Init interface {
	Init()
}

type Less

type Less func(a, b interface{}) bool

type OrderKey

type OrderKey[T constraints.Ordered] interface {
	OrderKey() T
}

comparable 只能比较是否相等,不能比较大小

Jump to

Keyboard shortcuts

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