mirror of
https://github.com/clearlinux/clr-installer.git
synced 2026-09-05 13:11:28 +00:00
linters: Add goimports
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
This commit is contained in:
@@ -14,6 +14,7 @@ linters:
|
||||
- ineffassign
|
||||
- gocyclo
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- deadcode
|
||||
- varcheck
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user