Since `$resource` and `$method` variables are not additionally used, suggest you pass string constants directly to `go`; it doesn't add to code readability to have them as separate variables.