Switched to using Goweb 2 (https://github.com/stretchr/goweb), also fixed memory problem in indexing.