Update recorder.go
Changed functions name to MetadataRecordOption
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user