demo.go-admin.com
demo.go-admin.com copied to clipboard
Main.go file call to function with wrong parameters
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
https://github.com/GoAdminGroup/demo.go-admin.com/blob/631b3c7e3765f8966234a0b0d611bdc729da9b3f/main.go#L93