Skip to content

Instantly share code, notes, and snippets.

@addrummond
Created March 17, 2021 09:16
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 addrummond/e03add788c029e7052e05976d89a4ecd to your computer and use it in GitHub Desktop.
Save addrummond/e03add788c029e7052e05976d89a4ecd to your computer and use it in GitHub Desktop.
defmodule HtmlLintNative do
use Rustler, otp_app: :platform, crate: "platform_plugs_htmllintnative"
def add(_a, _b), do: error()
def lint(_html_string), do: error()
defp error(), do: :erlang.nif_error(:nif_not_loaded)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment