diff options
Diffstat (limited to 'internal/models')
| -rw-r--r-- | internal/models/post.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/models/post.go b/internal/models/post.go new file mode 100644 index 0000000..d7b006d --- /dev/null +++ b/internal/models/post.go @@ -0,0 +1,10 @@ +package models + +import "html/template" + +type Post struct { + Id int + Name string + Time string + Content template.HTML +} |
