Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use gofmt to sort imports #92

Merged
merged 1 commit into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apstra/apstra_validator/rack_fcd_must_be_when_null.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package apstravalidator

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/helpers/validatordiag"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/apstra_validator/rack_fcd_must_be_when_value.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package apstravalidator

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/helpers/validatordiag"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/blueprint/blueprint.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package blueprint

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/go-version"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
dataSourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/blueprint/datacenter_routing_policy_export.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package blueprint

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/diag"
resourceSchema "github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/blueprint/pool_allocation.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package blueprint

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/setvalidator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/blueprint/prefix_filter.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package blueprint

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/attr"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_asn_pool.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_asn_pools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_blueprint_deployment.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
_ "github.com/hashicorp/terraform-plugin-framework/provider"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_configlet.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_configlets.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/setvalidator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_datacenter_blueprint.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_interface_map.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_interface_maps.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_ipv4_pool.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_ipv4_pools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_ipv6_pool.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_ipv6_pools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_rack_type.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_rack_types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_tag.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_template_rack_based.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_templates.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_vni_pool.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/path"
Expand Down
2 changes: 1 addition & 1 deletion apstra/data_source_vni_pools.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/interface_map.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
dataSourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/interface_map_interface.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/attr"
dataSourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/interface_map_mapping.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/attr"
dataSourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/diag"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/logical_device.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/listvalidator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/attr"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/logical_device_panel.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/listvalidator"
"github.com/hashicorp/terraform-plugin-framework/attr"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/rack_type_access_switch.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/mapvalidator"
"github.com/hashicorp/terraform-plugin-framework-validators/setvalidator"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/rack_type_generic_system.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/mapvalidator"
"github.com/hashicorp/terraform-plugin-framework-validators/setvalidator"
Expand Down
2 changes: 1 addition & 1 deletion apstra/design/tag.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package design

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/attr"
dataSourceSchema "github.com/hashicorp/terraform-plugin-framework/datasource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/resource_agent_profile.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
2 changes: 1 addition & 1 deletion apstra/resource_asn_pool.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"fmt"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/path"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion apstra/resource_configlet.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package tfapstra

import (
"github.com/Juniper/apstra-go-sdk/apstra"
"context"
"errors"
"github.com/Juniper/apstra-go-sdk/apstra"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
Expand Down
Loading