...

Text file src/github.com/dsoprea/go-utility/v2/data/README.md

Documentation: github.com/dsoprea/go-utility/v2/data

     1[![GoDoc](https://godoc.org/github.com/dsoprea/go-utility/data?status.svg)](https://godoc.org/github.com/dsoprea/go-utility/data)
     2[![Build Status](https://travis-ci.org/dsoprea/go-utility.svg?branch=master)](https://travis-ci.org/dsoprea/go-utility)
     3[![Coverage Status](https://coveralls.io/repos/github/dsoprea/go-utility/badge.svg?branch=master)](https://coveralls.io/github/dsoprea/go-utility?branch=master)
     4[![Go Report Card](https://goreportcard.com/badge/github.com/dsoprea/go-utility)](https://goreportcard.com/report/github.com/dsoprea/go-utility)
     5
     6# lru
     7
     8An LRU implementation. Accessors available for the first item, last item, list of all keys, count, fullness, membership checks, explicit drops, and popping the oldest in a loop. You can also set a callback for when items are dropped and dump the current contents of the LRU.
     9
    10# mimetype
    11
    12Convenience function for determining a mime-type from an `io.Reader`.

View as plain text