This commit is contained in:
sam 2023-09-03 00:23:48 +02:00
commit 2586161abd
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
49 changed files with 4171 additions and 0 deletions

11
internal/database/post.go Normal file
View file

@ -0,0 +1,11 @@
package database
import "github.com/oklog/ulid/v2"
// Post is a single post.
type Post struct {
ID ulid.ULID
BlogID ulid.ULID
Content *string
Source *string
}