Skip to content

Commit

Permalink
gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Sep 23, 2022
1 parent 9f6721a commit 3362e3b
Show file tree
Hide file tree
Showing 33 changed files with 68 additions and 36 deletions.
3 changes: 2 additions & 1 deletion internal/acceptance/workflows/scenario/step_funcs_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"context"
"encoding/json"
"fmt"
"gopkg.in/yaml.v2"
"strconv"
"strings"

"gopkg.in/yaml.v2"
)

func outputContainsSubstring(ctx context.Context, outputName, substring string) error {
Expand Down
2 changes: 1 addition & 1 deletion internal/acceptance/workflows/scenario/step_funcs_tile.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"context"
"errors"
"fmt"
"github.com/pivotal-cf/kiln/internal/proofing"
"os"
"strings"

"github.com/cucumber/godog"
"gopkg.in/yaml.v2"

"github.com/pivotal-cf/kiln/internal/component"
"github.com/pivotal-cf/kiln/internal/proofing"
"github.com/pivotal-cf/kiln/pkg/tile"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ package scenario
import (
"context"
"fmt"
"os"
"os/exec"
"strings"

"github.com/cucumber/godog"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"golang.org/x/exp/slices"
"os"
"os/exec"
"strings"

"github.com/pivotal-cf/kiln/internal/component"
"github.com/pivotal-cf/kiln/pkg/cargo"
Expand Down
3 changes: 2 additions & 1 deletion internal/commands/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package commands

import (
"fmt"
"golang.org/x/exp/maps"
"io"
"reflect"
"sort"
"strings"

"golang.org/x/exp/maps"

"github.com/pivotal-cf/jhanda"
)

Expand Down
3 changes: 2 additions & 1 deletion internal/component/bump_internal_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package component

import (
"testing"

"github.com/google/go-github/v40/github"
Ω "github.com/onsi/gomega"
"testing"
)

func TestInternal_deduplicateReleasesWithTheSameTagName(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion internal/manifest/generate.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package manifest

import (
"io"

opsman2 "github.com/pivotal-cf/kiln/internal/manifest/opsman"
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"io"

"gopkg.in/yaml.v2"
)
Expand Down
5 changes: 3 additions & 2 deletions internal/manifest/generate_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package manifest

import (
opsman2 "github.com/pivotal-cf/kiln/internal/manifest/opsman"
"github.com/pivotal-cf/kiln/internal/proofing"
"os"
"testing"

opsman2 "github.com/pivotal-cf/kiln/internal/manifest/opsman"
"github.com/pivotal-cf/kiln/internal/proofing"

"gopkg.in/yaml.v2"

. "github.com/onsi/gomega"
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/collection_property_blueprint_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/collection_property_input_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/errand_template_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/form_type_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/install_time_verifier_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/instance_definition_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/job_type_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package proofing_test

import (
"errors"
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/product_template_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/property_blueprints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package proofing_test

import (
"errors"
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/property_inputs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package proofing_test

import (
"errors"
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/release_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/resource_definitions_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/runtime_config_template_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/selector_property_blueprint_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/selector_property_input_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/simple_property_blueprint_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/simple_property_input_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/stemcell_criteria_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/template_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/variable_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/verifier_blueprint_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion internal/proofing/zero_if_binding_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package proofing_test

import (
proofing2 "github.com/pivotal-cf/kiln/internal/proofing"
"os"

proofing2 "github.com/pivotal-cf/kiln/internal/proofing"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
Expand Down
3 changes: 2 additions & 1 deletion pkg/cargo/kilnfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package cargo
import (
"errors"
"fmt"
"github.com/pivotal-cf/kiln/internal/manifest"
"strings"

"github.com/pivotal-cf/kiln/internal/manifest"

"github.com/Masterminds/semver"
boshdir "github.com/cloudfoundry/bosh-cli/director"
)
Expand Down
Loading

0 comments on commit 3362e3b

Please sign in to comment.