Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Destination ¶
type Destination interface { io.Closer // Exec executes the given statement with arguments, // detects the given statement and pick the proper execution(sync/async) to finish the job. Exec(ctx context.Context, statement string, args ...any) error }
func NewDestination ¶
Click to show internal directories.
Click to hide internal directories.