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
83b2ba00
Commit
83b2ba00
authored
Oct 31, 2014
by
Matt Bell
Committed by
Juan Batiz-Benet
Nov 04, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commands: Removed Command#Private field
parent
c0d3edd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
commands/command.go
commands/command.go
+0
-1
commands/http/parse.go
commands/http/parse.go
+0
-4
No files found.
commands/command.go
View file @
83b2ba00
...
...
@@ -28,7 +28,6 @@ type Command struct {
Format
Formatter
Type
interface
{}
Subcommands
map
[
string
]
*
Command
Private
bool
}
// ErrNotCallable signals a command that cannot be called.
...
...
commands/http/parse.go
View file @
83b2ba00
...
...
@@ -31,10 +31,6 @@ func Parse(r *http.Request, root *cmds.Command) (cmds.Request, error) {
cmd
=
sub
}
if
cmd
.
Private
{
return
nil
,
ErrNotFound
}
opts
,
args2
:=
parseOptions
(
r
)
args
=
append
(
args
,
args2
...
)
...
...
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