Skip to content

Commit 7a99a7f

Browse files
committed
use BeProductable in go package naming
1 parent 28b637a commit 7a99a7f

File tree

14 files changed

+24
-24
lines changed

14 files changed

+24
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
You will need to install `protoc-gen-grpc-gateway-ts` before it could be picked up by the `protoc` command. Run:
3030

3131
```sh
32-
go install github.com/dpup/protoc-gen-grpc-gateway-ts
32+
go install github.com/BeProductable/protoc-gen-grpc-gateway-ts
3333
```
3434

3535
Then ensure that your gobin is on your path:
@@ -87,7 +87,7 @@ Defines the logging levels. Default to info. Valid values are: debug, info, warn
8787

8888
### Notes:
8989

90-
Zero-value fields are omitted from the URL query parameter list for GET requests. Therefore for a request payload such as `{ a: "A", b: "" c: 1, d: 0, e: false }` will become `/path/query?a=A&c=1`. A sample implementation is present within this [proto file](https://github.com/dpup/protoc-gen-grpc-gateway-ts/blob/master/test/integration/protos/service.proto) in the integration tests folder. For further explanation please read the following:
90+
Zero-value fields are omitted from the URL query parameter list for GET requests. Therefore for a request payload such as `{ a: "A", b: "" c: 1, d: 0, e: false }` will become `/path/query?a=A&c=1`. A sample implementation is present within this [proto file](https://github.com/BeProductable/protoc-gen-grpc-gateway-ts/blob/master/test/integration/protos/service.proto) in the integration tests folder. For further explanation please read the following:
9191

9292
- <https://developers.google.com/protocol-buffers/docs/proto3#default>
9393
- <https://github.com/googleapis/googleapis/blob/master/google/api/http.proto>

generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"google.golang.org/protobuf/types/pluginpb"
1212

13-
"github.com/dpup/protoc-gen-grpc-gateway-ts/registry"
13+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/registry"
1414
"github.com/pkg/errors"
1515
)
1616

generator/template.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111

1212
"github.com/Masterminds/sprig"
1313

14-
"github.com/dpup/protoc-gen-grpc-gateway-ts/data"
15-
"github.com/dpup/protoc-gen-grpc-gateway-ts/registry"
14+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/data"
15+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/registry"
1616

1717
_ "embed"
1818
)

generator/template_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package generator
33
import (
44
"testing"
55

6-
"github.com/dpup/protoc-gen-grpc-gateway-ts/registry"
6+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/registry"
77
"github.com/stretchr/testify/assert"
88
)
99

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module github.com/dpup/protoc-gen-grpc-gateway-ts
1+
module github.com/BeProductable/protoc-gen-grpc-gateway-ts
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/Masterminds/sprig v2.22.0+incompatible
@@ -25,10 +25,10 @@ require (
2525
github.com/mitchellh/copystructure v1.2.0 // indirect
2626
github.com/mitchellh/reflectwalk v1.0.2 // indirect
2727
github.com/pmezard/go-difflib v1.0.0 // indirect
28-
github.com/rogpeppe/go-internal v1.12.0 // indirect
28+
github.com/rogpeppe/go-internal v1.13.1 // indirect
2929
golang.org/x/crypto v0.22.0 // indirect
3030
golang.org/x/net v0.24.0 // indirect
31-
golang.org/x/sys v0.19.0 // indirect
31+
golang.org/x/sys v0.21.0 // indirect
3232
golang.org/x/text v0.14.0 // indirect
3333
google.golang.org/genproto/googleapis/rpc v0.0.0-20240415180920-8c6c420018be // indirect
3434
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
3131
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
3232
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
3333
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
34-
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
35-
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
34+
github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
35+
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
3636
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
3737
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
3838
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
3939
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
4040
golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
4141
golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
42-
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
43-
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
42+
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
43+
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
4444
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
4545
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
4646
google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be h1:Zz7rLWqp0ApfsR/l7+zSHhY3PMiH2xqgxlfYfAfNpoU=

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os"
99
"strings"
1010

11-
"github.com/dpup/protoc-gen-grpc-gateway-ts/generator"
12-
"github.com/dpup/protoc-gen-grpc-gateway-ts/registry"
11+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/generator"
12+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/registry"
1313
"google.golang.org/protobuf/proto"
1414
"google.golang.org/protobuf/types/pluginpb"
1515
)

options/ts_package.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package grpc.gateway.protoc_gen_grpc_gateway_ts.options;
44

5-
option go_package = "github.com/dpup/protoc-gen-grpc-gateway-ts/options";
5+
option go_package = "github.com/BeProductable/protoc-gen-grpc-gateway-ts/options";
66

77
import "google/protobuf/descriptor.proto";
88

registry/enum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package registry
22

33
import (
4-
"github.com/dpup/protoc-gen-grpc-gateway-ts/data"
4+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/data"
55
"google.golang.org/protobuf/types/descriptorpb"
66
)
77

registry/field.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package registry
22

33
import (
4-
"github.com/dpup/protoc-gen-grpc-gateway-ts/data"
4+
"github.com/BeProductable/protoc-gen-grpc-gateway-ts/data"
55
"google.golang.org/protobuf/types/descriptorpb"
66
)
77

0 commit comments

Comments
 (0)