> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## 1.70.13

**`(fix):`** Generated Go snippets (docs snippets, `reference.md`, `snippet.json`) no longer discard the
SDK call result. The snippet function now returns `error`, assigns `_, err := client.X(...)`
(or `err := client.X(...)` for endpoints without a response body) and checks `if err != nil`.
Uses `hasResponseBody` from IR 67.35.0 to tell the two method shapes apart; older IRs get `_, err`.