mirror of
https://github.com/golang/go
synced 2024-11-06 07:36:13 -07:00
a49f79bcc2
Change-Id: I390102bbffaa242051cc131ef0659a6544aa89c6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/224938 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
17 lines
308 B
Go
17 lines
308 B
Go
// Copyright 2019 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package event
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
func Record(ctx context.Context, tags ...Tag) {
|
|
dispatch(ctx, Event{
|
|
typ: RecordType,
|
|
tags: tags,
|
|
})
|
|
}
|