migrated the webserver to go to keep my sanity

closes #12 #2
This commit is contained in:
odweta
2026-08-11 19:27:09 +02:00
parent e56ddc461b
commit 7ae0781430
608 changed files with 456 additions and 64005 deletions
+24
View File
@@ -0,0 +1,24 @@
package main
import (
"time"
)
type Status struct {
Status string `json:"status"`
}
const (
Open string = "open"
InProgress string = "in_progress"
Closed string = "closed"
)
type Ticket struct {
Id int `json:"id"`
Title string `json:"title"`
Description string `json:"description"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}