Skip to content

badolamgk/memoose-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

memoose-go

An implementation of memoose.js in Go.

Data flow visualization for call() and exec()

flowchart TD
  A[User] --> B[Memoize instance]
  B -.-> C["**call()**"] & D["**exec()**"]
  C --> E[Did cache hit occur?]
  E --> |Yes| F[Return the data to user]
  F --> A
  E --> |No| G[Run the linked function]
  D --> G
  G --> H[Did the linked function throw an error?]
  H --> |No| I[Store the output in the linked cache]
  I --> F
  H --> |Yes| J[Log the error back to user]
  J --> A;
classDef node fill:#ECECFF,stroke:#9370DB,stroke-width:1px,color:#333;
class A,B,C,D,E,F,G,H,I,J node;
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages