diff options
author | Maxim Polyakov <max.senia.poliak@gmail.com> | 2021-06-30 16:14:53 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-02 07:48:58 +0000 |
commit | 8b35851e4c994943fab1d0f0c484e5f38cd0729c (patch) | |
tree | f14fd90b4b8e2b5fcc6a6343cf9155e7eb27324a /util/intelp2m/fields/raw/raw.go | |
parent | 421ce56f833edcfe34788ff07ebf5e09d582ff9f (diff) |
util/intelp2m: use import once for all included modules
There is no need to repeat "import" for each module in GoLang. Use
this keyword only once in each file for code cleanliness.
Change-Id: Ibb24fafd409b31b174946a39ca1f810d59b87e76
Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55985
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/intelp2m/fields/raw/raw.go')
-rw-r--r-- | util/intelp2m/fields/raw/raw.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/intelp2m/fields/raw/raw.go b/util/intelp2m/fields/raw/raw.go index a54e51d9b1..e6fa25c7ee 100644 --- a/util/intelp2m/fields/raw/raw.go +++ b/util/intelp2m/fields/raw/raw.go @@ -1,7 +1,9 @@ package raw -import "fmt" -import "../../platforms/common" +import ( + "fmt" + "../../platforms/common" +) type FieldMacros struct {} |