From fea73cf682357ba9fe752503c5695b7a251c45c2 Mon Sep 17 00:00:00 2001 From: kist Date: Sun, 18 Feb 2024 17:17:50 +0100 Subject: [PATCH] Update recorder.go Changed functions name to MetadataRecordOption --- recorder/recorder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recorder/recorder.go b/recorder/recorder.go index 13cbd57..8ba2266 100644 --- a/recorder/recorder.go +++ b/recorder/recorder.go @@ -10,7 +10,7 @@ type RecordOptions struct { type RecordOption func(opts *RecordOptions) -func MetadataReocrdOption(md any) RecordOption { +func MetadataRecordOption(md any) RecordOption { return func(opts *RecordOptions) { opts.Metadata = md }