I want to prepare conditions data for gorm.
email := c.Query("email")
count := c.Query("count")
filters := []map[string]interface{}{
{"email": email},
{"count": count},
}
I can take the datas at c.Query() lines.
After process "filters" variable's assignment line, I see the values as empty on debug.