Commit graph

4 commits

Author SHA1 Message Date
Eli Bendersky 4340f8eba4
examples: start adding Go examples using api/ (#2879)
We can have the same examples as e.g. https://github.com/ollama/ollama-python/tree/main/examples
here. Using consistent naming and renaming the existing example to have -http-
since it uses direct HTTP requests rather than api/

Updates #2840
2024-04-10 13:26:45 -04:00
Icelain c5f21f73a4
follow best practices by adding resp.Body.Close() (#1708) 2023-12-25 09:01:37 -05:00
Michael Yang 2ce1793a1d go fmt 2023-10-19 09:21:51 -07:00
Matt Williams 8a41b244e8 add golang gen
Signed-off-by: Matt Williams <m@technovangelist.com>
2023-10-11 21:20:50 -07:00