XSS middleware

The project contains two file

  1. server.go
  2. xssmiddleware.go

run the project locally

You will need Go version 1.11+ installed on your development machine.

To install it locally read the official documentation golang.org/doc/install

install ECHO framework

$ cd <PROJECT IN $GOPATH> $ go get -u github.com/labstack/echo/...

run the server.go

run the command from your terminal go run server.go