func (eg *entryGorm) ByMonth(colName, month, entryType string) []Entry {
	var entries []Entry
	mon := strings.Title(month[:3])
	eg.db.Table("bug_and_fish").Where(colName+" LIKE ? AND type = ?", "%"+mon+"%", entryType).Find(&entries)
	return entries
}
// ByMonth will look up entries from the bug and fish database by hemisphere,
// month, and entry type (either bug or fish)
//
// It will return all entries which match the criterion.
//
// This function will not handle empty slices, so make sure to check for it
// in calling func
ByMonth will look up entries from the bug and fish database by hemisphere,
month, and entry type (either bug or fish)

It will return all entries which match the criterion.

This function will not handle empty slices, so make sure to check for it
in calling func
// ByMonth will look up entries from the bug and fish database by hemisphere // month and entry type ( either bug or fish ) // // It will return all entries which match the criterion . // // This function will not handle empty slices so make sure to check for it // in calling func
func (eg *entryGorm) ByMonth(colName, month, entryType string) []Entry {
	var entries []Entry
	mon := strings.Title(month[:3])
	eg.db.Table("bug_and_fish").Where(colName+" LIKE ? AND type = ?", "%"+mon+"%", entryType).Find(&entries)
	return entries
}
func ( eg * entryGorm ) ByMonth ( colName , month , entryType string ) [ ] Entry { var entries [ ] Entry mon := strings . Title ( month [ : 3 ] ) eg . db . Table ( " " ) . Where ( colName + " " , " " + mon + " " , entryType ) . Find ( & entries ) return entries }
ByMonth will look up entries from the bug and fish database by hemisphere,
month, and entry type (either bug or fish)
ByMonth will look up entries from the bug and fish database by hemisphere month and entry type ( either bug or fish )