Documentation ¶
Overview ¶
Package util provides the function IsOnlyRead to check sql is only read, and provides a LRUCache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func NewLRUCache ¶
NewLRUCache create a lruCache with input capacity
Click to show internal directories.
Click to hide internal directories.