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-unixfs
Commits
958e524c
Commit
958e524c
authored
Nov 03, 2014
by
Matt Bell
Committed by
Juan Batiz-Benet
Nov 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commands: Nicer syntax for Argument definition
parent
f76048f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
commands/argument.go
commands/argument.go
+4
-3
No files found.
commands/argument.go
View file @
958e524c
...
...
@@ -8,7 +8,8 @@ const (
)
type
Argument
struct
{
Name
string
Type
ArgumentType
Required
,
Variadic
bool
Name
string
Type
ArgumentType
Required
bool
Variadic
bool
}
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