Skip to content

Commit b18ff4a

Browse files
authored
Update best_practices.md
1 parent 2aa18e7 commit b18ff4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/best_practices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ func NewFooActor() *fooActor {
7474
7575
return &fooActor{
7676
mbx: mbx,
77-
Actor: actor.Combine(mbx, a1, a2).Build() // <------- combine all actors to single actor and initialize embeded actor of fooActor struct.
78-
} // when calling fooActor.Start() it will start all actors at once.
77+
Actor: actor.Combine(mbx, a1, a2).Build() // combine all actors to single actor and initialize embeded actor of fooActor struct.
78+
} // when calling fooActor.Start() it will start all actors at once.
7979
}
8080
8181
func (f *fooActor) OnMessage(ctx context.Context, msg any) error {
@@ -86,4 +86,4 @@ func (f *fooActor) OnMessage(ctx context.Context, msg any) error {
8686

8787
---
8888

89-
This page is not yet complete.
89+
This page is not yet complete.

0 commit comments

Comments
 (0)