File tree Expand file tree Collapse file tree
plugins/destination/postgresql Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ package main
22
33import (
44 "github.com/cloudquery/cloudquery/plugins/destination/postgresql/client"
5+ "github.com/cloudquery/cloudquery/plugins/destination/postgresql/resources/plugin"
56 "github.com/cloudquery/plugin-sdk/plugins"
67 "github.com/cloudquery/plugin-sdk/serve"
78)
@@ -10,11 +11,7 @@ const (
1011 sentryDSN = "https://19d1257d36854a51b17c06614e76dc2d@o1396617.ingest.sentry.io/4503896817336320"
1112)
1213
13- var (
14- Version = "Development"
15- )
16-
1714func main () {
18- p := plugins .NewDestinationPlugin ("postgresql" , Version , client .New )
15+ p := plugins .NewDestinationPlugin ("postgresql" , plugin . Version , client .New )
1916 serve .Destination (p , serve .WithDestinationSentryDSN (sentryDSN ))
2017}
Original file line number Diff line number Diff line change 1+ package plugin
2+
3+ var (
4+ // Don't move this file to a different package, it's used by Go releaser to embed the version in the binary.
5+ Version = "Development"
6+ )
You can’t perform that action at this time.
0 commit comments