golang goqu ignore struct field

Developer from somewhere

Problem: unexported struct field was used in a goqu query. The field did not have an equivalent db column.

Solution: mark it like in JSON:

type someName struct {
  myVirtualField int `db:"-"`
}