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

nil pointer error [BUG] #2

Open
andropixels opened this issue Aug 27, 2022 · 0 comments
Open

nil pointer error [BUG] #2

andropixels opened this issue Aug 27, 2022 · 0 comments

Comments

@andropixels
Copy link

when you generate the plugin with main.go it generates the plugin template
but in the generated template we have a InitDao function which takes storage.Dao
and here we are passing New(a.d ) in the New function which creates service
here instead of a.d(as shown in the image below ) it should be only d

image

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

No branches or pull requests

1 participant