fix for godoc
This commit is contained in:
parent
942985ce51
commit
4d4db84d5d
@ -76,9 +76,9 @@ func Client(c client.Client) Option {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Context specifies a context for the service
|
// Context specifies a context for the service.
|
||||||
// Can be used to signal shutdown of the service
|
// Can be used to signal shutdown of the service.
|
||||||
// Can be used for extra option values
|
// Can be used for extra option values.
|
||||||
func Context(ctx context.Context) Option {
|
func Context(ctx context.Context) Option {
|
||||||
return func(o *Options) {
|
return func(o *Options) {
|
||||||
o.Context = ctx
|
o.Context = ctx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user