This commit is contained in:
2024-01-17 12:02:03 -07:00
parent 161cc95538
commit f8ce4e3b48
43 changed files with 1614 additions and 21 deletions

37
lib/types.go Normal file
View File

@ -0,0 +1,37 @@
package lib
import (
"html/template"
)
type IconLink struct {
Name string
Href string
Icon template.HTML
}
type CardLink struct {
Name string
Href string
Description string
Date string
Tags []string
Internal bool
}
type Post struct {
Content template.HTML
Name string
Date string
Tags []string
}
type FrontMatter struct {
Name string
Date string
Tags []string
}
type PubSubMessage struct {
Channel string `json:"channel"`
Data string `json:"data"`
}