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

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

Open
camilovietnam opened this issue Nov 2, 2021 · 0 comments
Open

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

camilovietnam opened this issue Nov 2, 2021 · 0 comments

Comments

@camilovietnam
Copy link

camilovietnam commented Nov 2, 2021

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).

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