How to use inner join in Postgresql through Golang for two tables one is persons and other is orders?
type orders struct {
id int
ordernumber int
personid int
persons []persons
}
type persons struct {
id int
firstname string
lastname string
city string
}