This should be an easy one, while looking into the code i found that NewEventWithTime ignores the provided time and instead also uses time.now https://github.com/ZachtimusPrime/Go-Splunk-HTTP/blob/master/splunk/v2/splunk.go#L95 PR here: https://github.com/ZachtimusPrime/Go-Splunk-HTTP/pull/20
This should be an easy one,
while looking into the code i found that NewEventWithTime ignores the provided time and instead also uses time.now
https://github.com/ZachtimusPrime/Go-Splunk-HTTP/blob/master/splunk/v2/splunk.go#L95
PR here: #20