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

feat: Add EngineVersion method to Dialer #59

Merged
merged 2 commits into from
Jan 7, 2022
Merged

feat: Add EngineVersion method to Dialer #59

merged 2 commits into from
Jan 7, 2022

Conversation

kurtisvg
Copy link
Contributor

No description provided.

dialer.go Outdated
// EngineVersion returns the engine type and version for the instance. The value will
// corespond to one of the following types for the instance:
// https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/SqlDatabaseVersion
func (d *Dialer) EngineVersion(ctx context.Context, instance string) (engine string, err error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the named returns are unnecessary given the method name.

@kurtisvg kurtisvg merged commit 6a78bfd into main Jan 7, 2022
@kurtisvg kurtisvg deleted the ev branch January 7, 2022 20:04
This was referenced Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants