Either you use query params, or you use a library like gorilla, where you just insert pattern variables into the url.