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-cmds
Commits
bffcfa60
Commit
bffcfa60
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
docs(commands) Type
parent
89131d64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
command.go
command.go
+6
-0
No files found.
command.go
View file @
bffcfa60
...
...
@@ -40,6 +40,12 @@ type Command struct {
Arguments
[]
Argument
Run
Function
Marshallers
map
[
EncodingType
]
Marshaller
// Type describes the type of the output of the Command's Run Function.
// Precisely, the value of Type is an instance of the return type of the
// Run Function.
//
// ie. If command Run returns &Block{}, then Command.Type == &Block{}
Type
interface
{}
Subcommands
map
[
string
]
*
Command
}
...
...
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