Skip to content

Commit

Permalink
remove destination connector boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillem committed Oct 16, 2024
1 parent fc33522 commit b6924a3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 110 deletions.
1 change: 0 additions & 1 deletion connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ import sdk "github.com/conduitio/conduit-connector-sdk"
var Connector = sdk.Connector{
NewSpecification: Specification,
NewSource: NewSource,
NewDestination: NewDestination,
}
72 changes: 0 additions & 72 deletions destination.go

This file was deleted.

16 changes: 0 additions & 16 deletions destination_test.go

This file was deleted.

14 changes: 0 additions & 14 deletions paramgen_dest.go

This file was deleted.

13 changes: 6 additions & 7 deletions spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ var version = "(devel)"
// Specification returns the connector's specification.
func Specification() sdk.Specification {
return sdk.Specification{
Name: "spanner",
Summary: "A Conduit Connector for Spanner",
Description: "A source and destination connector for Spanner",
Version: version,
Author: "Meroxa, Inc.",
SourceParams: new(SourceConfig).Parameters(),
DestinationParams: new(DestinationConfig).Parameters(),
Name: "spanner",
Summary: "A Conduit Connector for Spanner",
Description: "A source and destination connector for Spanner",
Version: version,
Author: "Meroxa, Inc.",
SourceParams: new(SourceConfig).Parameters(),
}
}

0 comments on commit b6924a3

Please sign in to comment.