diff options
| author | Elizabeth <elizabeth@simponic.xyz> | 2024-04-03 16:22:19 -0600 |
|---|---|---|
| committer | Elizabeth <elizabeth@simponic.xyz> | 2024-04-03 16:22:19 -0600 |
| commit | e398cf05402c010d594cea4e2dea307ca1a36dbe (patch) | |
| tree | 57a878b408a2066275fefb8058a43ec44d9bd223 /api/serve.go | |
| parent | b74a955dcb8cc1d5d2599a1b096510a60e55e7d7 (diff) | |
| download | hatecomputers.club-e398cf05402c010d594cea4e2dea307ca1a36dbe.tar.gz hatecomputers.club-e398cf05402c010d594cea4e2dea307ca1a36dbe.zip | |
checkpoint to save work; had to get on the bus
Diffstat (limited to 'api/serve.go')
| -rw-r--r-- | api/serve.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/serve.go b/api/serve.go index 9547ee0..1536f65 100644 --- a/api/serve.go +++ b/api/serve.go @@ -24,6 +24,10 @@ type RequestContext struct { User *database.User } +type FormError struct { + Errors []string +} + type Continuation func(*RequestContext, *http.Request, http.ResponseWriter) ContinuationChain type ContinuationChain func(Continuation, Continuation) ContinuationChain |
