From 6ee8f2f782be9444b5f8af1edc4073c469a3c088 Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Tue, 15 Jun 2021 17:21:56 +0200 Subject: [PATCH] fix lint issues --- builder/order/step_wait_barista.go | 3 ++- main.go | 5 +++-- post-processor/receipt/print.go | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/builder/order/step_wait_barista.go b/builder/order/step_wait_barista.go index cf9d91c..ebdb9ba 100644 --- a/builder/order/step_wait_barista.go +++ b/builder/order/step_wait_barista.go @@ -2,9 +2,10 @@ package order import ( "context" + "time" + "github.com/hashicorp/packer-plugin-sdk/multistep" packersdk "github.com/hashicorp/packer-plugin-sdk/packer" - "time" ) type StepWaitForBarista struct { diff --git a/main.go b/main.go index b1f60ad..3e98f45 100644 --- a/main.go +++ b/main.go @@ -2,14 +2,15 @@ package main import ( "fmt" - "github.com/hashicorp/packer-plugin-sdk/plugin" - "github.com/hashicorp/packer-plugin-sdk/version" "os" "packer-plugin-hashicups/builder/order" "packer-plugin-hashicups/datasource/coffees" "packer-plugin-hashicups/datasource/ingredients" "packer-plugin-hashicups/post-processor/receipt" "packer-plugin-hashicups/provisioner/toppings" + + "github.com/hashicorp/packer-plugin-sdk/plugin" + "github.com/hashicorp/packer-plugin-sdk/version" ) var ( diff --git a/post-processor/receipt/print.go b/post-processor/receipt/print.go index 94ac483..fa2ca78 100644 --- a/post-processor/receipt/print.go +++ b/post-processor/receipt/print.go @@ -2,10 +2,11 @@ package receipt import ( "fmt" - "github.com/jung-kurt/gofpdf" "os" "path/filepath" "time" + + "github.com/jung-kurt/gofpdf" ) type Printer interface {