Update recorder.go

Changed functions name to MetadataRecordOption
This commit is contained in:
kist 2024-02-18 17:17:50 +01:00 committed by ginuerzh
parent a06608ccaf
commit fea73cf682

View File

@ -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
}