Have got site creation working
This commit is contained in:
parent
4ecc12f035
commit
f8e7ea482b
15 changed files with 281 additions and 11 deletions
|
|
@ -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
6
models/theme.go
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
package models
|
||||
|
||||
type ThemeMeta struct {
|
||||
Name string `json:"name"`
|
||||
URL string `json:"repo"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue