cloudwego / cloudwego/fastpb

custom go_package name, error

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
109
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

When the go_package name is customized, the generated `pb.fast.go` is wrong

Steps to reproduce the behavior:
custom go_package:
```proto
option go_package = "github.com/cloudwego/fastpb/examples/fastpb_gen/user/player;playercustom";
```
although the [official documentation](https://developers.google.com/protocol-buffers/docs/reference/go-generated#package) does not recommend this, but it is legal.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.