Hi I am new to go and not able to decode this message. As part of error message both assigned and expected type is Decimal but still it gives error.
“cannot use types.NewDecimal(5, 1) (value of type types.Decimal) as types.Decimal value in struct literal”
Error “owner”: “generated_diagnostic_collection_name#0”, “code”: { “value”: “IncompatibleAssign”, “target”: { “$mid”: 1, “external”: “typesinternal package - golang.org/x/tools/internal/typesinternal - pkg.go.dev”, “path”: “/golang.org/x/tools/internal/typesinternal”, “scheme”: “https”, “authority”: “pkg.go.dev”, “query”: “utm_source=gopls”, “fragment”: “IncompatibleAssign” } }, “severity”: 8, “message”: “cannot use types.NewDecimal(5, 1) (value of type types.Decimal) as types.Decimal value in struct literal”, “source”: “compiler”, “startLineNumber”: 33, “startColumn”: 27, “endLineNumber”: 33, “endColumn”: 49 }]