Skip to content

hope WithContext to set context #1516

@crochee

Description

@crochee

code example:
// WithContext its context changed to ctx. The provided ctx must be non-nil.
func (c *Command) WithContext(ctx context.Context) {
c.ctx = ctx
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions