Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
9f801561
Commit
9f801561
authored
Nov 11, 2014
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(commands) add cast error
parent
a4e68c24
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
commands/option.go
commands/option.go
+2
-0
No files found.
commands/option.go
View file @
9f801561
...
@@ -5,6 +5,8 @@ import (
...
@@ -5,6 +5,8 @@ import (
"reflect"
"reflect"
)
)
var
CastError
=
errors
.
New
(
"cast error"
)
// Types of Command options
// Types of Command options
const
(
const
(
Invalid
=
reflect
.
Invalid
Invalid
=
reflect
.
Invalid
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment