MCPcopy
hub / github.com/go-gorm/gorm / NewList

Function NewList

internal/lru/lru.go:410–410  ·  view source on GitHub ↗

NewList returns an initialized list.

()

Source from the content-addressed store, hash-verified

408
409// NewList returns an initialized list.
410func NewList[K comparable, V any]() *LruList[K, V] { return new(LruList[K, V]).Init() }
411
412// Length returns the number of elements of list l.
413// The complexity is O(1).

Callers 1

NewLRUFunction · 0.85

Calls 1

InitMethod · 0.80

Tested by

no test coverage detected