Skip to content

Shubh-Dev/lru-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lru-cache

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.

Deploy

Link

Built With

  • Go
  • Fiber

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Setup

  • Use the following commands to clone this repository
  • cd to the directory where you want to clone the project to.
  • git clone https://github.com/Shubh-Dev/lru-cache.git
  • cd lru-cache

Run tests

  • Run go test github.com/Shubh-Dev/lru-cache/cache to run the tests

Deployment

  • Run go run main.go to start the server

Authors

👤 Shubh M

Show your support

Give a ⭐️ if you liked this project!

Acknowledgments

📝 License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors