Skip to content

Commit

Permalink
Spell out zero in documentation.
Browse files Browse the repository at this point in the history
threadType is a string, its zero value is empty string, not 0.
So it's more appropriate to spell it out.
  • Loading branch information
dmitshur committed Feb 1, 2018
1 parent 9d25390 commit c27d09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Service interface {
// ExternalService for notifications.
type ExternalService interface {
// Subscribe subscribes subscribers to the specified thread.
// If threadType and threadID are 0, subscribers are subscribed
// If threadType and threadID are zero, subscribers are subscribed
// to watch the entire repo.
//
// THINK: Why is MarkRead and MarkAllRead 2 separate methods instead of 1,
Expand Down

0 comments on commit c27d09b

Please sign in to comment.