Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ID string `json:"id"` Title string `json:"title"` Link string `json:"link"` Author string `json:"author"` Date time.Time `json:"date"` Tags []string `json:"tags"` }
Article is a domain transfer object
func (Article) MapToDomainModel ¶
MapToDomainModel maps DTOs to the actual domain model
Click to show internal directories.
Click to hide internal directories.