Skip to content

Main.go file call to function with wrong parameters #3

@camilovietnam

Description

@camilovietnam

Brief description

In file main.go, line 93 we are calling the following method:

eng.AddConfig(cfg)

But the parameter needs to be of type *config.Config, so the correct call should be:

eng.AddConfig(&cfg)

Link

if err := eng.AddConfig(cfg).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions