File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,7 @@ type VersionResult struct {
31
31
}
32
32
33
33
func (vr VersionResult ) String () string {
34
- return fmt .Sprintf ("%s ver.%s" , vr .CommandName , vr .Version )
35
- }
36
-
37
- // VersionFullInfo represents the output of a verbose request of version of a command.
38
- type VersionFullInfo struct {
39
- Versions []VersionResult `json:"versions,required"`
34
+ return fmt .Sprintf ("%s version %s" , vr .CommandName , vr .Version )
40
35
}
41
36
42
37
// LibProcessResults represent the result of a process on libraries.
@@ -76,14 +71,6 @@ func (lpr LibProcessResults) String() string {
76
71
return strings .TrimSpace (ret )
77
72
}
78
73
79
- func (vfi VersionFullInfo ) String () string {
80
- ret := ""
81
- for _ , vr := range vfi .Versions {
82
- ret += fmt .Sprintln (vr )
83
- }
84
- return strings .TrimSpace (ret )
85
- }
86
-
87
74
// String returns a string representation of the object.
88
75
func (lsr LibSearchResults ) String () string {
89
76
ret := ""
You can’t perform that action at this time.
0 commit comments