Skip to content

Instantly share code, notes, and snippets.

@pjstadig
Created February 25, 2022 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjstadig/3e1102513ce9281186612ca6ba11a507 to your computer and use it in GitHub Desktop.
Save pjstadig/3e1102513ce9281186612ca6ba11a507 to your computer and use it in GitHub Desktop.
Multimethods
(ns stadig.storage.methods
(:refer-clojure :exclude [get]))
(defmulti get :backend)
(defmulti put :backend)
(defmulti delete :backend)
(defmulti close :backend)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment