tx.go
func TraceGeneric(ctx context.Context, name string) *Trace {
	return trace(ctx, name, func(tx Tx) error {
		return tx.StartGeneric(name)
	})
}
func TraceGeneric(ctx context.Context, name string) *Trace {
	return trace(ctx, name, func(tx Tx) error {
		return tx.StartGeneric(name)
	})
}
func TraceGeneric ( ctx context . Context , name string ) * Trace { return trace ( ctx , name , func ( tx Tx ) error { return tx . StartGeneric ( name ) } ) }
// TraceGeneric adds a generic segment to the newrelic transaction, if one exists in the context.
TraceGeneric adds a generic segment to the newrelic transaction if one exists in the context .