Help us shape the future of Go! Take the 2026 Go Developer Survey

mysql

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command mysql is the fourth reference example plugin demonstrating a real connector-consuming action, mirroring plugins/examples/postgresql for a second SQL engine: it contributes one connector type, "mysql.connection@1", and two actions — "mysql.query@1" and "mysql.execute@1" — the same query/execute pair the vision document names for PostgreSQL (section 8.3), so a workflow author switching engines only changes which connector/action ids they bind, not the shape of a step.

Like plugins/examples/postgresql, a connection is opened per action call and closed before Run returns — see that plugin's doc comment for why.

It depends only on the SDK (sdk/go-plugin), never on any internal/ package of the agent.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL