Converting the project from PHP to go, thanks lukegb!