Skip to content

Commit

Permalink
Just a little typo fix in code documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
willyrgf committed Aug 3, 2021
1 parent 23cb939 commit 4111ee9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trace/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ func (cfg *EventConfig) Timestamp() time.Time {
return cfg.timestamp
}

// NewEventConfig applies all the EventOptions to a returned SpanConfig. If no
// timestamp option is passed, the returned SpanConfig will have a Timestamp
// NewEventConfig applies all the EventOptions to a returned EventConfig. If no
// timestamp option is passed, the returned EventConfig will have a Timestamp
// set to the call time, otherwise no validation is performed on the returned
// SpanConfig.
// EventConfig.
func NewEventConfig(options ...EventOption) *EventConfig {
c := new(EventConfig)
for _, option := range options {
Expand Down

0 comments on commit 4111ee9

Please sign in to comment.