Have got site creation working

This commit is contained in:
Leon Mika 2025-01-27 09:26:15 +11:00
parent 4ecc12f035
commit f8e7ea482b
15 changed files with 281 additions and 11 deletions

View file

@ -1,7 +1,9 @@
package models
type Site struct {
ID int64
Name string
URL string
ID int64
Name string
Title string
URL string
Theme string
}

6
models/theme.go Normal file
View file

@ -0,0 +1,6 @@
package models
type ThemeMeta struct {
Name string `json:"name"`
URL string `json:"repo"`
}