Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpecimenRepo ¶
type SqlPlantRepo ¶
type SqlPlantRepo struct {
// contains filtered or unexported fields
}
func CreateSqlPlantRepo ¶
func CreateSqlPlantRepo(database *sql.DB) SqlPlantRepo
func (SqlPlantRepo) GetPlantByName ¶
func (self SqlPlantRepo) GetPlantByName(name string) (models.Plant, error)
type SqlSpecimenRepo ¶
type SqlSpecimenRepo struct {
// contains filtered or unexported fields
}
func CreateRepo ¶
func CreateRepo(database *sql.DB) SqlSpecimenRepo
func (SqlSpecimenRepo) SaveSpecimen ¶
Click to show internal directories.
Click to hide internal directories.