dapr / go-sdk

Dapr SDK for go
Apache License 2.0
446 stars 171 forks source link

Actors example implements non-existent code #620

Open haukened opened 2 months ago

haukened commented 2 months ago

Describe the bug

In the documentation found here the documentation lists a struct wrapping the class actors.Actor which is not implemented in the go-sdk. The go-sdk implements client and server, but no class actors.Actor

To Reproduce

Go to the page, read the page, attempt to follow the example creating code like:

type ExampleActor struct {
    actors.Actor
}

Observe the error: undefined: actors

Expected behavior

The documentation matches the implemented code, and does not implement go classes that cannot be inherited.

The go-sdk implements actor not actors and has no exported member Actor that can be inherited by a struct.

image