Skip to content

Commit

Permalink
internal/generator: move package to internal
Browse files Browse the repository at this point in the history
Updates cosmos#37
  • Loading branch information
elias-orijtech committed Mar 23, 2023
1 parent f31ec0c commit af2e036
Show file tree
Hide file tree
Showing 25 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion cmd/protoc-gen-go-pulsar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

_ "github.com/cosmos/cosmos-proto/features/fastreflection"
_ "github.com/cosmos/cosmos-proto/features/protoc"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/reflect/protoreflect"

"google.golang.org/protobuf/compiler/protogen"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/clear.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/descriptors.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/reflect/protoreflect"

"github.com/cosmos/cosmos-proto/features/fastreflection/copied"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/fast_plugin.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
)

Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/get.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/has.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"

"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"

"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/mutable.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/new_field.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/proto_marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/reflect/protoreflect"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/proto_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package fastreflection
import (
"fmt"
"github.com/cosmos/cosmos-proto/features/fastreflection/copied"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
)

Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/proto_size.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/reflect/protoreflect"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/proto_unmarshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/reflect/protoreflect"
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/range.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/set.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
"google.golang.org/protobuf/reflect/protoreflect"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package fastreflection

import (
"fmt"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"

"google.golang.org/protobuf/compiler/protogen"
)
Expand Down
2 changes: 1 addition & 1 deletion features/fastreflection/which_oneof.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package fastreflection

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
)

Expand Down
2 changes: 1 addition & 1 deletion features/protoc/feature.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package protoc

import (
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"google.golang.org/protobuf/compiler/protogen"
)

Expand Down
2 changes: 1 addition & 1 deletion features/protoc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package protoc
import (
"fmt"
"github.com/cosmos/cosmos-proto/features/protoc/genid"
"github.com/cosmos/cosmos-proto/generator"
"github.com/cosmos/cosmos-proto/internal/generator"
"go/ast"
"go/parser"
"go/token"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit af2e036

Please sign in to comment.