aboutsummaryrefslogtreecommitdiff
path: root/internal/models
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models')
-rw-r--r--internal/models/post.go10
-rw-r--r--internal/models/user.go6
2 files changed, 8 insertions, 8 deletions
diff --git a/internal/models/post.go b/internal/models/post.go
index d7f1aaa..95dde58 100644
--- a/internal/models/post.go
+++ b/internal/models/post.go
@@ -6,10 +6,10 @@ import (
)
type Post struct {
- Id int
- Name string
- Time time.Time
+ Id int
+ Name string
+ Time time.Time
FormattedTime string
- Brief template.HTML
- Content template.HTML
+ Brief template.HTML
+ Content template.HTML
}
diff --git a/internal/models/user.go b/internal/models/user.go
index 8753810..e75ea80 100644
--- a/internal/models/user.go
+++ b/internal/models/user.go
@@ -1,9 +1,9 @@
package models
type User struct {
- Id int
- Name string
- Time string
+ Id int
+ Name string
+ Time string
PassOne string
PassTwo string
}