ollama/registry
Blake Mizerany eb2c442a01 oweb: make DecodeUserJSON take a field name
This allows for better error messages when decoding fails. For example,
instead of:

    {"code":"invalid_json","message":"unexpected end of JSON input"}

We now get:

    {"code":"invalid_json","field":"manifest","message":"unexpected end of JSON input"}
2024-03-31 11:36:51 -07:00
..
apitypes.go oweb: make DecodeUserJSON take a field name 2024-03-31 11:36:51 -07:00
client.go oweb: make DecodeUserJSON take a field name 2024-03-31 11:36:51 -07:00
server.go oweb: make DecodeUserJSON take a field name 2024-03-31 11:36:51 -07:00
server_test.go init 2024-03-31 09:24:53 -07:00