func (t Trigger) String() string {
	if val, ok := triggerNames[t]; ok {  
		return val
	}
	return ""
}
String returns a human readable value for a trigger
package trigger
import (
	"fmt"
	"time"
)
type Trigger int