Modified models to support a DB
This commit is contained in:
parent
3591e0c723
commit
ebaec3d296
33 changed files with 675 additions and 64 deletions
9
models/pubmodel/sites.go
Normal file
9
models/pubmodel/sites.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package pubmodel
|
||||
|
||||
import "lmika.dev/lmika/weiro/models"
|
||||
|
||||
type Site struct {
|
||||
models.Site
|
||||
BaseURL string
|
||||
Posts []*models.Post
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue