Skip to content

Fix incompatible func type in README.md example#15

Open
osbre wants to merge 1 commit intoenergye:mainfrom
osbre:fix/readme-example-type
Open

Fix incompatible func type in README.md example#15
osbre wants to merge 1 commit intoenergye:mainfrom
osbre:fix/readme-example-type

Conversation

@osbre
Copy link

@osbre osbre commented Jan 16, 2025

I was getting:

Cannot use 'func() { fmt. Println("SetOnDClick") }' (type func()) as the type func(menu IMenu)

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