diff --git a/cmd/ndc-go-sdk/connector.go b/cmd/ndc-go-sdk/connector.go index 3c1503d..2c8378e 100644 --- a/cmd/ndc-go-sdk/connector.go +++ b/cmd/ndc-go-sdk/connector.go @@ -450,8 +450,7 @@ func (cg *connectorGenerator) getTypeBuilder(fileName string, packageName string bs = &connectorTypeBuilder{ packageName: packageName, imports: map[string]string{ - "github.com/go-viper/mapstructure/v2": "", - "github.com/hasura/ndc-sdk-go/utils": "", + "github.com/hasura/ndc-sdk-go/utils": "", }, builder: &strings.Builder{}, } diff --git a/cmd/ndc-go-sdk/testdata/basic/expected/functions.go.tmpl b/cmd/ndc-go-sdk/testdata/basic/expected/functions.go.tmpl index d7aa1cb..8cd835e 100644 --- a/cmd/ndc-go-sdk/testdata/basic/expected/functions.go.tmpl +++ b/cmd/ndc-go-sdk/testdata/basic/expected/functions.go.tmpl @@ -2,7 +2,6 @@ package functions import ( - "github.com/go-viper/mapstructure/v2" "github.com/hasura/ndc-sdk-go/utils" ) var functions_Decoder = utils.NewDecoder()