Template
1
0
Fork 0
goth.stack/lib/types.go
2024-01-17 12:02:03 -07:00

37 lines
517 B
Go

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"`
}