Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gob.Register #6

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Fix gob.Register #6

merged 1 commit into from
Sep 19, 2022

Conversation

sago35
Copy link
Owner

@sago35 sago35 commented Sep 19, 2022

This PR corrects the following errors

$ go run ./examples/basic/
panic: gob: name not registered for interface: "*image.RGBA"

goroutine 35 [running]:
github.com/sago35/tinydisplay.(*Client).update(0x0?)
        /home/sago35/dev/src/github.com/sago35/tinydisplay/client.go:144 +0xd3
github.com/sago35/tinydisplay.(*Client).Tick(0xc000200300)
        /home/sago35/dev/src/github.com/sago35/tinydisplay/client.go:48 +0x5b
created by github.com/sago35/tinydisplay.NewClient
        /home/sago35/dev/src/github.com/sago35/tinydisplay/client.go:41 +0x1a5
exit status 2

@sago35
Copy link
Owner Author

sago35 commented Sep 19, 2022

It worked fine.

@sago35 sago35 merged commit 39c5a70 into main Sep 19, 2022
@sago35 sago35 deleted the fix-gob branch September 19, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant