fix: refactor layout init
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package newsdomain
|
||||
|
||||
type News struct {
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
FeaturedImage string `json:"featured_image"`
|
||||
Tags []string `json:"tags"`
|
||||
Categories []string `json:"categories"`
|
||||
IsPremium bool `json:"is_premium"`
|
||||
Slug string `json:"slug"`
|
||||
Author string `json:"author"`
|
||||
}
|
||||
Reference in New Issue
Block a user