This repository was archived by the owner on Aug 16, 2024. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func ExampleEnumerationOptions() {
27
27
// Output: sources not found in options
28
28
}
29
29
30
- func ExampleEnumerationOptionsHasSources () {
30
+ func ExampleEnumerationOptions_HasSources () {
31
31
opts := EnumerationOptions {}
32
32
fmt .Println (opts .HasSources ())
33
33
// Output: false
Original file line number Diff line number Diff line change @@ -82,23 +82,23 @@ func ExampleResult() {
82
82
// Output: example : info.bing.com
83
83
}
84
84
85
- func ExampleResultIsSuccess () {
85
+ func ExampleResult_IsSuccess () {
86
86
result := Result {Success : "wiggle.github.com" }
87
87
if result .IsSuccess () {
88
88
fmt .Println (result .Success )
89
89
}
90
90
// Output: wiggle.github.com
91
91
}
92
92
93
- func ExampleResultIsFailure () {
93
+ func ExampleResult_IsFailure () {
94
94
result := Result {Failure : errors .New ("failed to party" )}
95
95
if result .IsFailure () {
96
96
fmt .Println (result .Failure .Error ())
97
97
}
98
98
// Output: failed to party
99
99
}
100
100
101
- func ExampleResultHasType () {
101
+ func ExampleResult_HasType () {
102
102
result := Result {Type : "example" }
103
103
fmt .Println (result .HasType ())
104
104
// Output: true
You can’t perform that action at this time.
0 commit comments