first commit
This commit is contained in:
9
models/news.go
Normal file
9
models/news.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
// NewsItem 뉴스 기사 항목
|
||||
type NewsItem struct {
|
||||
Title string `json:"title"` // 기사 제목 (HTML 태그 제거됨)
|
||||
URL string `json:"url"` // 원문 URL
|
||||
PublishedAt string `json:"publishedAt"` // 발행일시 (RFC1123Z)
|
||||
Source string `json:"source"` // 출처 (도메인)
|
||||
}
|
||||
Reference in New Issue
Block a user