Skip to content

Instantly share code, notes, and snippets.

@joan38
Last active August 26, 2018 22:34
Show Gist options
  • Save joan38/6b9da1062dbac8bf68020b3023a6598b to your computer and use it in GitHub Desktop.
Save joan38/6b9da1062dbac8bf68020b3023a6598b to your computer and use it in GitHub Desktop.
trait Creatable[Resource](implicit resourceEncoder: Encoder[Resource]) {
def create(resource: Resource): Unit = ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment