calling model dynamically in go
问题 Consider products like jeans, shirts, shorts and I want to store the orders in respective product tables for eg jeans related order should get stored in jeans tables and so on. Every table would have identical parameters. So while storing orders in table I should be able to call the respective struct and store the order. I am coming from Laravel (PHP) background where I can load dynamic model like $model = "Dynamic passed model names" $class = "App\\Models\\$model"; but in Go how can we do