Library methods not using context #566
gnuletik
started this conversation in
Feature Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Functions exposed by the library are not taking a
context.Context
in parameter.This parameter allows cancelling the calls from the parent functions.
v2.19.0
Steps To Reproduce
See the public methods:
https://pkg.go.dev/github.com/amacneil/dbmate/v2/pkg/dbmate#DB
Expected Behavior
A context is expected to be used when interacting with a database.
Beta Was this translation helpful? Give feedback.
All reactions