package audit import ( "time" ) //creates auditor that writes nothiong func None() Auditor { return noAudit{} } type noAudit struct{} func (noAudit) WriteValues(startTime, endTime time.Time, requestID string, values map[string]interface{}) error { return nil } func (noAudit) WriteEvent(requestID string, event Event) error { return nil }