Update recorder.go

Changed functions name to MetadataRecordOption
This commit is contained in:
kist authored and ginuerzh committed 2024-03-09 20:45:15 +08:00
1 parent a06608ccaf
commit fea73cf682
1 file changed
+1 -1
+1 -1
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
}