velodrome/transform/plugins/author_logger_wrapper.go
func (a *AuthorLoggerPluginWrapper) ReceiveIssue(issue sql.Issue) []Point {
	points := a.plugin.ReceiveIssue(issue)
	if a.enabled {
		for i := range points {
			if points[i].Values == nil {
				points[i].Values = map[string]interface{}{}
			}
			points[i].Values["author"] = issue.User
		}
	}

	return points
}
func (a *AuthorLoggerPluginWrapper) ReceiveIssue(issue sql.Issue) []Point {
	points := a.plugin.ReceiveIssue(issue)
	if a.enabled {
		for i := range points {
			if points[i].Values == nil {
				points[i].Values = map[string]interface{}{}
			}
			points[i].Values["author"] = issue.User
		}
	}

	return points
}
func ( a * AuthorLoggerPluginWrapper ) ReceiveIssue ( issue sql . Issue ) [ ] Point { points := a . plugin . ReceiveIssue ( issue ) if a . enabled { for i := range points { if points [ i ] . Values == nil { points [ i ] . Values = map [ string ] interface { } { } } points [ i ] . Values [ " " ] = issue . User } } return points }
// ReceiveIssue is a wrapper on plugin.ReceiveIssue() logging the author
ReceiveIssue is a wrapper on plugin . ReceiveIssue () logging the author