Skip to content

Commit 0bb763a

Browse files
committed
adjust comments full stops
1 parent 66300da commit 0bb763a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

newsbox/newsbox.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,31 @@ type Analysis struct {
2424

2525
// Title is the response object for the title analysis.
2626
type Title struct {
27-
// Decision is the string representing the decision could be bias/unsure/impartial
27+
// Decision is the string representing the decision could be bias/unsure/impartial.
2828
Decision string `json:"decision,omitempty"`
29-
// Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial)
29+
// Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial).
3030
Score float64 `json:"score,omitempty"`
3131
// Entities represents entities discovered in the text.
3232
Entities []Entity `json:"entities,omitempty"`
3333
}
3434

3535
// Content is the response object for the content analysis.
3636
type Content struct {
37-
// Decision is the string representing the decision could be bias/unsure/impartial
37+
// Decision is the string representing the decision could be bias/unsure/impartial.
3838
Decision string `json:"decision,omitempty"`
39-
// Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial)
39+
// Score is the numeric score of the decision is between 0.00 (bias) and 1.00 (impartial).
4040
Score float64 `json:"score,omitempty"`
4141
// Entities represents entities discovered in the text.
4242
Entities []Entity `json:"entities,omitempty"`
43-
// Keywords are the most relevant keywords extracted from the text
43+
// Keywords are the most relevant keywords extracted from the text.
4444
Keywords []Keyword `json:"keywords"`
4545
}
4646

4747
// Domain is the response object for the domain analysis.
4848
type Domain struct {
49-
// Domain is the domain extracted from the URL
49+
// Domain is the domain extracted from the URL.
5050
Domain string `json:"domain,omitempty"`
51-
// Category is one of the listed on the API docs
51+
// Category is one of the listed on the API docs.
5252
Category string `json:"category,omitempty"`
5353
}
5454

0 commit comments

Comments
 (0)