gocache
gocache copied to clipboard
feat(lib/cache): loadable add synchronous write option
Dear author, hello, when I use "loadable" in some high-concurrency scenarios, and the keys are the same, loadFunc will be requested multiple times. I hope to add an input parameter of options to achieve synchronized set. operation, so I submitted this PR