blob: ec502c60af24907a8f401bbb1178d0f17f802afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package structs
import (
"time"
"github.com/google/uuid"
)
// Talk defines a talk
type Talk struct {
// Meta
UUID uuid.UUID `pg:"type:uuid"`
ID int `pg:",pk"`
// Actual Talk information
Title string
Description string
Slides string
Nickname string
Date time.Time // the actual date entered
FormattedDate string // the date formatted in a way that can be displayed nicely
// Organization
Upcoming bool `pg:",use_zero"`
}
|