@@ -14,14 +14,15 @@ import (
1414
1515// Analysis represents an analysis of title, content and domain.
1616type Analysis struct {
17- // Title is the response object for the title analysis
17+ // Title is the response object for the title analysis.
1818 Title Title `json:"title"`
19- // Content is the response object for the content analysis
19+ // Content is the response object for the content analysis.
2020 Content Content `json:"content"`
21- // Domain is the response object for the domain analysis
21+ // Domain is the response object for the domain analysis.
2222 Domain Domain `json:"domain"`
2323}
2424
25+ // Title is the response object for the title analysis.
2526type Title struct {
2627 // Decision is the string representing the decision could be bias/unsure/impartial
2728 Decision string `json:"decision,omitempty"`
@@ -31,6 +32,7 @@ type Title struct {
3132 Entities []Entity `json:"entities,omitempty"`
3233}
3334
35+ // Content is the response object for the content analysis.
3436type Content struct {
3537 // Decision is the string representing the decision could be bias/unsure/impartial
3638 Decision string `json:"decision,omitempty"`
@@ -42,6 +44,7 @@ type Content struct {
4244 Keywords []Keyword `json:"keywords"`
4345}
4446
47+ // Domain is the response object for the domain analysis.
4548type Domain struct {
4649 // Domain is the domain extracted from the URL
4750 Domain string `json:"domain,omitempty"`
0 commit comments