Generates golang constants from html templates