From db1e089c8c729d283602da59685cc4024bf6996c Mon Sep 17 00:00:00 2001
From: Matthew Dillon <mrdillon@alaska.edu>
Date: Mon, 13 Jul 2015 09:43:09 -0800
Subject: [PATCH] Minor cleanup

---
 measurements.go | 1 -
 species.go      | 1 -
 strains.go      | 3 +--
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/measurements.go b/measurements.go
index 5da18c3..c9bdaaf 100644
--- a/measurements.go
+++ b/measurements.go
@@ -40,7 +40,6 @@ type MeasurementBase struct {
 	UpdatedBy             int64       `db:"updated_by" json:"updatedBy"`
 }
 
-// Measurement & MeasurementJSON(s) are what ember expects to see
 type Measurement struct {
 	*MeasurementBase
 	TextMeasurementType NullString `db:"text_measurement_type_name" json:"textMeasurementType"`
diff --git a/species.go b/species.go
index a7df4ff..3939136 100644
--- a/species.go
+++ b/species.go
@@ -35,7 +35,6 @@ func (s *SpeciesBase) PreUpdate(e modl.SqlExecutor) error {
 
 type SpeciesService struct{}
 
-// SpeciesBase is what the DB expects to see for inserts/updates
 type SpeciesBase struct {
 	Id                  int64      `db:"id" json:"id"`
 	GenusID             int64      `db:"genus_id" json:"-"`
diff --git a/strains.go b/strains.go
index 331346a..b70027e 100644
--- a/strains.go
+++ b/strains.go
@@ -35,7 +35,6 @@ func (s *StrainBase) PreUpdate(e modl.SqlExecutor) error {
 
 type StrainService struct{}
 
-// StrainBase is what the DB expects to see for inserts/updates
 type StrainBase struct {
 	Id                  int64      `db:"id" json:"id"`
 	SpeciesId           int64      `db:"species_id" json:"species"`
@@ -59,7 +58,7 @@ type Strain struct {
 	Measurements      NullSliceInt64 `db:"measurements" json:"measurements"`
 	TotalMeasurements int64          `db:"total_measurements" json:"totalMeasurements"`
 	SortOrder         int64          `db:"sort_order" json:"sortOrder"`
-	CanEdit           bool           `db:"can_edit" json:"canEdit"`
+	CanEdit           bool           `db:"-" json:"canEdit"`
 }
 
 type Strains []*Strain