Skip to content

cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) #458

@iEfoam

Description

@iEfoam

Hello, may I ask why I always encounter this problem? Since 2.11.8, every time I start up, I have this problem. Every time I have to modify this part of the code, which makes me very frustrated. Could you please tell me how to avoid this problem?

../../pkg/mod/github.com/topfreegames/pitaya/v2@v2.11.16/config/viper_config.go:223:7: cannot use c (variable of type *"github.com/mitchellh/mapstructure".DecoderConfig) as *"github.com/go-viper/mapstructure/v2".DecoderConfig value in argument to opt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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