Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dad52efdc5 | ||
|
|
69b04a894d |
@@ -10,6 +10,7 @@ type Article struct {
|
||||
}
|
||||
|
||||
type ArticleSection struct {
|
||||
Order int `json:"order"`
|
||||
Type string `json:"type"`
|
||||
Content string `json:"content"`
|
||||
}
|
||||
|
||||
8
models/profile.go
Normal file
8
models/profile.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package models
|
||||
|
||||
type Profile struct {
|
||||
Id string `gorm:"primaryKey" json:"id"`
|
||||
Firstname string `json:"firstname"`
|
||||
Lastname string `json:"lastname"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
Reference in New Issue
Block a user