From a3bd38c2432291802838da6e6a9488cb8c3ac05c Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 20 Dec 2021 13:42:40 +0000 Subject: [PATCH] gofmt --- appvm.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/appvm.go b/appvm.go index 25a7216..c4f1ba2 100644 --- a/appvm.go +++ b/appvm.go @@ -31,13 +31,12 @@ import ( kingpin "gopkg.in/alecthomas/kingpin.v2" ) - type networkModel int const ( - networkOffline networkModel = iota - networkQemu networkModel = iota - networkLibvirt networkModel = iota + networkOffline networkModel = iota + networkQemu networkModel = iota + networkLibvirt networkModel = iota ) func list(l *libvirt.Libvirt) { @@ -433,7 +432,7 @@ func parseNetworkModel(flagOffline bool, flagNetworking string) networkModel { if flagNetworking == "qemu" { return networkQemu } - return networkQemu // qemu is the default network model + return networkQemu // qemu is the default network model } var configDir = os.Getenv("HOME") + "/.config/appvm/"