Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go: Operation service client #1302

Open
Tracked by #6
asmyasnikov opened this issue Jun 21, 2024 · 0 comments
Open
Tracked by #6

Go: Operation service client #1302

asmyasnikov opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@asmyasnikov
Copy link
Member

For example

operations, err := db.Operation().ListOperations(ctx)
for _, op := range operations {
   fmt.Println(op.Info())
   if true {
       op.Cancel(ctx)
   } else {
     op.Forget(ctx)
   }
}
@asmyasnikov asmyasnikov added the enhancement New feature or request label Jun 21, 2024
@asmyasnikov asmyasnikov changed the title feat: Operation service client Go: Operation service client Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant