#335 caller skip count. #337

Merged
vtolstov merged 3 commits from kgorbunov/micro:#335-v3 into v3 2024-04-15 13:30:49 +03:00
Showing only changes of commit 8576a81d54 - Show all commits

View File

@ -81,3 +81,9 @@ func WithName(n string) Option {
o.Name = n
}
}
func WithIncCallerSkipCount(n int) Option {
return func(o *Options) {
o.CallerSkipCount += n
}
}