Skip to content

Commit 2031d73

Browse files
committed
re
1 parent d943794 commit 2031d73

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cmd/protoc-gen-jsonschema/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ package main
1616

1717
import (
1818
"github.com/bufbuild/protoplugin"
19-
"github.com/bufbuild/protoschema-plugins/cmd"
19+
"github.com/bufbuild/protoschema-plugins/internal"
2020
"github.com/bufbuild/protoschema-plugins/internal/protoschema/plugin/pluginjsonschema"
2121
)
2222

2323
func main() {
24-
protoplugin.Main(protoplugin.HandlerFunc(pluginjsonschema.Handle), protoplugin.WithVersion(cmd.Version()))
24+
protoplugin.Main(protoplugin.HandlerFunc(pluginjsonschema.Handle), protoplugin.WithVersion(internal.Version()))
2525
}

cmd/protoc-gen-pubsub/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ package main
1616

1717
import (
1818
"github.com/bufbuild/protoplugin"
19-
"github.com/bufbuild/protoschema-plugins/cmd"
19+
"github.com/bufbuild/protoschema-plugins/internal"
2020
"github.com/bufbuild/protoschema-plugins/internal/protoschema/plugin/pluginpubsub"
2121
)
2222

2323
func main() {
24-
protoplugin.Main(protoplugin.HandlerFunc(pluginpubsub.Handle), protoplugin.WithVersion(cmd.Version()))
24+
protoplugin.Main(protoplugin.HandlerFunc(pluginpubsub.Handle), protoplugin.WithVersion(internal.Version()))
2525
}

cmd/protoc-gen-sourceinfo/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ package main
1616

1717
import (
1818
"github.com/bufbuild/protoplugin"
19-
"github.com/bufbuild/protoschema-plugins/cmd"
19+
"github.com/bufbuild/protoschema-plugins/internal"
2020
"github.com/bufbuild/protoschema-plugins/internal/protoschema/plugin/pluginsourceinfo"
2121
)
2222

2323
func main() {
24-
protoplugin.Main(protoplugin.HandlerFunc(pluginsourceinfo.Handle), protoplugin.WithVersion(cmd.Version()))
24+
protoplugin.Main(protoplugin.HandlerFunc(pluginsourceinfo.Handle), protoplugin.WithVersion(internal.Version()))
2525
}

cmd/version.go internal/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
package cmd
15+
package internal
1616

1717
import (
1818
"runtime/debug"

0 commit comments

Comments
 (0)