First cut of the link fields
This commit is contained in:
parent
c5925e16e0
commit
38ebb21a34
8 changed files with 145 additions and 35 deletions
|
|
@ -89,6 +89,7 @@ func (s *Service) Save(ctx context.Context, site models.Site, post *models.Post)
|
|||
}
|
||||
|
||||
type NewPost struct {
|
||||
Title string
|
||||
Body string
|
||||
Title string `json:"title" form:"title"`
|
||||
Body string `json:"body" form:"body"`
|
||||
Params map[string]string `json:"params" form:"params"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue