Skip to content

nil pointer error [BUG] #2

Description

@andropixels

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions