[FIX] Formatting and code-style (#118)
* [FIX] Formatting and code-style - gofmt - import resort - prealloc slices - simplify code * fix vet
This commit is contained in:
parent
df2e9f68ef
commit
f000b76879
37 changed files with 145 additions and 124 deletions
|
@ -188,7 +188,7 @@ func (c *VMCLI) Run() error {
|
|||
if len(input) != 0 {
|
||||
parts := strings.Split(input, " ")
|
||||
cmd := parts[0]
|
||||
args := []string{}
|
||||
var args []string
|
||||
if len(parts) > 1 {
|
||||
args = parts[1:]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue