Skip to content

Commit

Permalink
fix: pb go tag
Browse files Browse the repository at this point in the history
  • Loading branch information
FGYFFFF committed Jan 3, 2024
1 parent d2cf30f commit 68f45eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/docs/hertz/tutorials/toolkit/annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Protobuf:
```protobuf
message Demo {
string Demo = 1[(api.query) = "demo", (api.path) = "demo"];
string GoTag = 2[(api.go_tag) = "goTag:"tag""];
string GoTag = 2[(api.go_tag)="goTag:\"tag\""];
string Vd = 3[(api.vd) = "$!='your string'"];
}
```
Expand Down
2 changes: 1 addition & 1 deletion content/zh/docs/hertz/tutorials/toolkit/annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Protobuf:
```protobuf
message Demo {
string Demo = 1[(api.query) = "demo", (api.path) = "demo"];
string GoTag = 2[(api.go_tag) = "goTag:"tag""];
string GoTag = 2[(api.go_tag)="goTag:\"tag\""];
string Vd = 3[(api.vd) = "$!='your string'"];
}
```
Expand Down

0 comments on commit 68f45eb

Please sign in to comment.