Skip to main content

Installation

1. Get the fncmp package

go get github.com/snburman/fncmp

2. Download fncmp.min.js

3. Create an HTML file (or template)

Here we've included the fncmp.min.js file in the head of the HTML.

static/index.html
<!DOCTYPE html>
<html>
<head>
<title>My Project</title>
<script src="fncmp.min.js"></script>
</head>
<body>
<main></main>
</body>
</html>