mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
fix for godoc
This commit is contained in:
@@ -76,9 +76,9 @@ func Client(c client.Client) Option {
|
||||
}
|
||||
}
|
||||
|
||||
// Context specifies a context for the service
|
||||
// Can be used to signal shutdown of the service
|
||||
// Can be used for extra option values
|
||||
// Context specifies a context for the service.
|
||||
// Can be used to signal shutdown of the service.
|
||||
// Can be used for extra option values.
|
||||
func Context(ctx context.Context) Option {
|
||||
return func(o *Options) {
|
||||
o.Context = ctx
|
||||
|
||||
Reference in New Issue
Block a user