Closed savely-krasovsky closed 2 years ago
For example I need some logic with different modes:
var stats ovrstat.CareerStats switch mode { case "competitive": stats = user.Profile.CompetitiveStats case "quickplay": stats = user.Profile.QuickPlayStats }
But now I have to use reflect package and digging type.
I would like that as well. I will create a PR for this.
For example I need some logic with different modes:
But now I have to use reflect package and digging type.