prepare matrix types and data

This commit is contained in:
Baipyrus 2024-04-12 10:01:24 +02:00
parent 48998c352b
commit aff5ec08bf

31
main.go
View File

@ -11,5 +11,36 @@ import (
"github.com/joho/godotenv"
)
type Response struct {
success bool
}
type Endpoint string
const (
RECTANGLE Endpoint = "rectangle"
UPDATE Endpoint = "update"
COLOR Endpoint = "color"
)
type Update struct {
endpoint Endpoint
}
type Color struct {
R int
G int
B int
endpoint Endpoint
}
type Rectangle struct {
X int
Y int
W int
H int
endpoint Endpoint
}
func main() {
}