aboutsummaryrefslogtreecommitdiff
path: root/example_test.go
diff options
context:
space:
mode:
authorBrendan Burns <[email protected]>2015-03-11 11:10:28 -0700
committerspf13 <[email protected]>2015-03-12 22:17:30 -0400
commit11b7cf8387a31f278486eaad758162830eca8c73 (patch)
tree1e6ed20e3a409603d621ce994e615f90cb3d58bc /example_test.go
parent370c3171201099fa6b466db45c8a032cbce33d8d (diff)
Always return when err is not nil.
Diffstat (limited to 'example_test.go')
-rw-r--r--example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/example_test.go b/example_test.go
index 6aaed3c..9be7a49 100644
--- a/example_test.go
+++ b/example_test.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- flag "github.com/ogier/pflag"
+ flag "github.com/spf13/pflag"
)
// Example 1: A single string flag called "species" with default value "gopher".