Add volume API/CLI
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
01fe6537f1
commit
1858b15498
2 changed files with 13 additions and 5 deletions
|
@ -7,7 +7,6 @@ import (
|
|||
"go/parser"
|
||||
"go/token"
|
||||
"reflect"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var ErrBadReturn = errors.New("found return arg with no name: all args must be named")
|
||||
|
@ -39,7 +38,7 @@ type arg struct {
|
|||
}
|
||||
|
||||
func (a *arg) String() string {
|
||||
return strings.ToLower(a.Name) + " " + strings.ToLower(a.ArgType)
|
||||
return a.Name + " " + a.ArgType
|
||||
}
|
||||
|
||||
// Parses the given file for an interface definition with the given name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue