halgo
halgo copied to clipboard
HAL implementation in Go
It became a bit hard to separate these into distinct pull requests. But these changes address issues from tickets #10 and #2. I'll probably tack on implementations for #11 and...
For example, I want to "generate" the HAL links after I retrieve the resource from my database and convert it to a golang struct. I tried something like: ``` go...
When writing code, it is nice to be able to write functions that work with `navigator` instances. This might involve taking them as arguments, returning, etc. This comes up occasionally...
Headers
When dealing with APIs that require headers (e.g., the `Authorization` header), it is useful to be able to inject those headers. Currently, `halgo` doesn't seem to provide a way to...
What do you think about exporting `url`? (i.e., renaming it to `Url`). It seems useful (e.g., for debugging).