Skip to content

Commit

Permalink
Fix redundant mapstructure import (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Mar 7, 2024
1 parent cbc4d97 commit bf00dd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions cmd/ndc-go-sdk/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
}
Expand Down
1 change: 0 additions & 1 deletion cmd/ndc-go-sdk/testdata/basic/expected/functions.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bf00dd2

Please sign in to comment.