linters: Add goimports

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
Mark D Horn
2020-04-24 14:53:17 -07:00
committed by Mark Horn
parent ff8c2dea5c
commit 21dbcdf649
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -14,6 +14,7 @@ linters:
- ineffassign
- gocyclo
- gofmt
- goimports
- golint
- deadcode
- varcheck
+2 -2
View File
@@ -1,17 +1,17 @@
// Copyright © 2019 Intel Corporation
// Copyright © 2020 Intel Corporation
//
// SPDX-License-Identifier: GPL-3.0-only
package pages
import (
"github.com/clearlinux/clr-installer/utils"
"strings"
"github.com/gotk3/gotk3/gtk"
"github.com/clearlinux/clr-installer/model"
"github.com/clearlinux/clr-installer/timezone"
"github.com/clearlinux/clr-installer/utils"
)
// TimezonePage is a simple page to help with TimezonePage settings
+3 -3
View File
@@ -1,4 +1,4 @@
// Copyright © 2018 Intel Corporation
// Copyright © 2020 Intel Corporation
//
// SPDX-License-Identifier: GPL-3.0-only
@@ -7,12 +7,12 @@ package tui
import (
"fmt"
"strings"
"sync/atomic"
"time"
"github.com/VladimirMarkelov/clui"
xs "github.com/huandu/xstrings"
term "github.com/nsf/termbox-go"
"sync/atomic"
"time"
)
// MenuButton is the implementation of a clui button with simpler