|
1 | 1 | package provider
|
2 | 2 |
|
3 | 3 | import (
|
4 |
| - "context" |
5 |
| - "fmt" |
6 |
| - "net/http" |
7 |
| - "regexp" |
8 |
| - |
9 |
| - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" |
10 |
| - "github.com/hashicorp/terraform-plugin-framework/path" |
11 |
| - "github.com/hashicorp/terraform-plugin-framework/resource" |
12 |
| - "github.com/hashicorp/terraform-plugin-framework/resource/schema" |
13 |
| - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" |
14 |
| - "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" |
15 |
| - "github.com/hashicorp/terraform-plugin-framework/schema/validator" |
16 |
| - tftypes "github.com/hashicorp/terraform-plugin-framework/types" |
17 |
| - |
18 |
| - "github.com/segmentio/public-api-sdk-go/api" |
19 |
| - "github.com/segmentio/terraform-provider-segment/internal/provider/docs" |
20 |
| - "github.com/segmentio/terraform-provider-segment/internal/provider/models" |
| 4 | + "context" |
| 5 | + "fmt" |
| 6 | + "net/http" |
| 7 | + "regexp" |
| 8 | + |
| 9 | + "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" |
| 10 | + "github.com/hashicorp/terraform-plugin-framework/path" |
| 11 | + "github.com/hashicorp/terraform-plugin-framework/resource" |
| 12 | + "github.com/hashicorp/terraform-plugin-framework/resource/schema" |
| 13 | + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" |
| 14 | + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" |
| 15 | + "github.com/hashicorp/terraform-plugin-framework/schema/validator" |
| 16 | + tftypes "github.com/hashicorp/terraform-plugin-framework/types" |
| 17 | + |
| 18 | + "github.com/segmentio/public-api-sdk-go/api" |
| 19 | + "github.com/segmentio/terraform-provider-segment/internal/provider/docs" |
| 20 | + "github.com/segmentio/terraform-provider-segment/internal/provider/models" |
21 | 21 | )
|
22 | 22 |
|
23 | 23 | var (
|
24 |
| - _ resource.Resource = &functionResource{} |
25 |
| - _ resource.ResourceWithConfigure = &functionResource{} |
26 |
| - _ resource.ResourceWithImportState = &functionResource{} |
| 24 | + _ resource.Resource = &functionResource{} |
| 25 | + _ resource.ResourceWithConfigure = &functionResource{} |
| 26 | + _ resource.ResourceWithImportState = &functionResource{} |
27 | 27 | )
|
28 | 28 |
|
29 | 29 | func NewFunctionResource() resource.Resource {
|
|
0 commit comments