Updated "var" to "const" in constant.go

Also ran go fmt over all the files to clean up white space