Use JSON for errors and page response

This commit is contained in:
Ian Gulliver
2024-11-26 13:26:26 -06:00
parent 89737edbd6
commit 0512fa41f6
7 changed files with 69 additions and 16 deletions

6
go.mod
View File

@@ -2,11 +2,15 @@ module github.com/gopatchy/p
go 1.22
require github.com/openai/openai-go v0.1.0-alpha.38
require (
github.com/openai/openai-go v0.1.0-alpha.38
github.com/samber/lo v1.47.0
)
require (
github.com/tidwall/gjson v1.14.4 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
github.com/tidwall/sjson v1.2.5 // indirect
golang.org/x/text v0.16.0 // indirect
)