lru

package
v0.0.64 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DEFAULT_SIZE = 1000000

Variables

View Source
var (
	Int     = _Int{}
	Int8    = _Int8{}
	Int16   = _Int16{}
	Int32   = _Int32{}
	Int64   = _Int64{}
	Uint    = _Uint{}
	Uint8   = _Uint8{}
	Uint16  = _Uint16{}
	Uint32  = _Uint32{}
	Uint64  = _Uint64{}
	Float32 = _Float32{}
	Float64 = _Float64{}
	Bool    = _Bool{}
	Rune    = _Rune{}
	String  = _String{}
	Byte    = _Byte{}
	Bytes   = _Bytes{}
	Any     = _Any{}
)

Functions

func Cache

func Cache[T any]() types.Cache[T]

TODO: if type is int, string, returns the internal cache

func Init

func Init() (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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