This is a Golang-Fiber Api that implements a Least Recently Used Cache. It is a simple implementation of a cache that stores key-value pairs. The cache has a maximum capacity and when the cache is full, the least recently used key-value pair is removed to make space for the new key-value pair.
- Go
- Fiber
To get a local copy up and running follow these simple example steps.
- Have VSCode or other text editor installed. Link to download VSCode
- Have git installed.Link to download git
- Have Go installed. Link to download Go
- Use the following commands to clone this repository
cdto the directory where you want to clone the project to.git clone https://github.com/Shubh-Dev/lru-cache.gitcd lru-cache
- Run
go test github.com/Shubh-Dev/lru-cache/cacheto run the tests
- Run
go run main.goto start the server
👤 Shubh M
- GitHub: @Shubh-Dev
- LinkedIn: LinkedIn
Give a ⭐️ if you liked this project!