code: func SelectCertificate(s dbOneSelector, q string, args ...interface{}) (core.Certificate, error) {
  	var model core.Certificate
  	err := s.SelectOne(
  		&model,
  		"SELECT "+certFields+" FROM certificates "+q,
  		args...,
  	)
  	return model, err
  }
docs: // SelectCertificate selects all fields of one certificate object