first commit
Some checks failed
goreleaser / goreleaser (push) Has been cancelled

This commit is contained in:
Luis Pater
2025-07-02 03:42:56 +08:00
commit 827bd6e356
15 changed files with 3004 additions and 0 deletions

13
internal/api/models.go Normal file
View File

@@ -0,0 +1,13 @@
package api
// ErrorResponse represents an error response
type ErrorResponse struct {
Error ErrorDetail `json:"error"`
}
// ErrorDetail represents error details
type ErrorDetail struct {
Message string `json:"message"`
Type string `json:"type"`
Code string `json:"code,omitempty"`
}