Skip to content

Commit

Permalink
docs: update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Jun 29, 2023
1 parent 790ded6 commit 4152b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev_docs/HOW_TO.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ reference. If you need to create a copy of a protobuf model use the `CloneVT` me
```golang
func foo(event *modelpb.APMEvent) {
base := *event // NOT SAFE, don't do this
...
...
}
```

```golang
func foo(event *modelpb.APMEvent) {
base := event.CloneVT() // OK
...
...
}
```

Expand Down

0 comments on commit 4152b86

Please sign in to comment.