Skip to content

Commit 8405c37

Browse files
author
Reuven
committed
documentation
1 parent 884c6ba commit 8405c37

34 files changed

Lines changed: 35 additions & 35 deletions

diff/callbacks_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type CallbacksDiff struct {
1313
Modified ModifiedCallbacks `json:"modified,omitempty" yaml:"modified,omitempty"`
1414
}
1515

16-
// Empty return true if there is no diff
16+
// Empty indicates whether a change was found in this element
1717
func (callbacksDiff *CallbacksDiff) Empty() bool {
1818

1919
if callbacksDiff == nil {

diff/content_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func newContentDiff() *ContentDiff {
2222
return &ContentDiff{}
2323
}
2424

25-
// Empty return true if there is no diff
25+
// Empty indicates whether a change was found in this element
2626
func (contentDiff *ContentDiff) Empty() bool {
2727
return contentDiff == nil || *contentDiff == ContentDiff{}
2828
}

diff/encoding_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type EncodingDiff struct {
1313
AllowReservedDiff *ValueDiff `json:"allowReservedDiff,omitempty" yaml:"allowReservedDiff,omitempty"`
1414
}
1515

16-
// Empty return true if there is no diff
16+
// Empty indicates whether a change was found in this element
1717
func (diff *EncodingDiff) Empty() bool {
1818
return diff == nil || *diff == EncodingDiff{}
1919
}

diff/encodings_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type EncodingsDiff struct {
1212
// ModifiedEncodings is map of enconding names to their respective diffs
1313
type ModifiedEncodings map[string]*EncodingDiff
1414

15-
// Empty return true if there is no diff
15+
// Empty indicates whether a change was found in this element
1616
func (diff *EncodingsDiff) Empty() bool {
1717
if diff == nil {
1818
return true

diff/enum_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func newEnumDiff() *EnumDiff {
1818
}
1919
}
2020

21-
// Empty return true if there is no diff
21+
// Empty indicates whether a change was found in this element
2222
func (enumDiff *EnumDiff) Empty() bool {
2323
if enumDiff == nil {
2424
return true

diff/extensions_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type ExtensionsDiff struct {
1414
// ModifiedExtensions is map of extensions names to their respective diffs
1515
type ModifiedExtensions map[string]*ValueDiff
1616

17-
// Empty return true if there is no diff
17+
// Empty indicates whether a change was found in this element
1818
func (diff *ExtensionsDiff) Empty() bool {
1919
if diff == nil {
2020
return true

diff/header_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type HeaderDiff struct {
1414
ContentDiff *ContentDiff `json:"content,omitempty" yaml:"content,omitempty"`
1515
}
1616

17-
// Empty return true if there is no diff
17+
// Empty indicates whether a change was found in this element
1818
func (headerDiff *HeaderDiff) Empty() bool {
1919
return headerDiff == nil || *headerDiff == HeaderDiff{}
2020
}

diff/headers_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type HeadersDiff struct {
1313
Modified ModifiedHeaders `json:"modified,omitempty" yaml:"modified,omitempty"`
1414
}
1515

16-
// Empty return true if there is no diff
16+
// Empty indicates whether a change was found in this element
1717
func (headersDiff *HeadersDiff) Empty() bool {
1818
if headersDiff == nil {
1919
return true

diff/method_diff.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func newMethodDiff() *MethodDiff {
2525
return &MethodDiff{}
2626
}
2727

28-
// Empty return true if there is no diff
28+
// Empty indicates whether a change was found in this element
2929
func (methodDiff *MethodDiff) Empty() bool {
3030
if methodDiff == nil {
3131
return true

diff/oauth_flow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type OAuthFlowDiff struct {
1313
ScopesDiff *StringMapDiff `json:"scopes,omitempty" yaml:"scopes,omitempty"`
1414
}
1515

16-
// Empty return true if there is no diff
16+
// Empty indicates whether a change was found in this element
1717
func (diff *OAuthFlowDiff) Empty() bool {
1818
return diff == nil || *diff == OAuthFlowDiff{}
1919
}

0 commit comments

Comments
 (0)