func (eg *entryGorm) FindLike(name, tableName string) []Entry {
	var entries []Entry
	eg.db.Table(tableName).Limit(6).Where("name LIKE ?", "%"+name+"%").Find(&entries)
	return entries
}
// FindLike will return all entries that are similar to the 'name' variable
// passed in
//
// It will return a slice of type Entry. This does not handle empty slices, so make
// sure to check for slice length in calling func
FindLike will return all entries that are similar to the 'name' variable
passed in

It will return a slice of type Entry. This does not handle empty slices, so make
sure to check for slice length in calling func
// FindLike will return all entries that are similar to the ' name ' variable // passed in // // It will return a slice of type Entry . This does not handle empty slices so make // sure to check for slice length in calling func
func (eg *entryGorm) FindLike(name, tableName string) []Entry {
	var entries []Entry
	eg.db.Table(tableName).Limit(6).Where("name LIKE ?", "%"+name+"%").Find(&entries)
	return entries
}
func ( eg * entryGorm ) FindLike ( name , tableName string ) [ ] Entry { var entries [ ] Entry eg . db . Table ( tableName ) . Limit ( 6 ) . Where ( " " , " " + name + " " ) . Find ( & entries ) return entries }
FindLike will return all entries that are similar to the 'name' variable
passed in
FindLike will return all entries that are similar to the ' name ' variable passed in