I also noticed the modVer variable was never modified, which I assume was not intentional? The if branch below was always taken.
ERROR
knotserver/routes.go
ERROR
knotserver/routes.go
Failed to calculate interdiff for this file.