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

run go fmt with Go 1.21.0 #76

Merged
merged 2 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Ichinose Shogo
Copyright (c) 2020 ICHINOSE Shogo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions rdsmysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ import (

// Driver is a mysql driver using IAM DB Auth.
//
// // configure AWS session
// awsConfig := aws.NewConfig().WithRegion("ap-northeast-1")
// awsSession := session.Must(session.NewSession(awsConfig))
// // configure AWS session
// awsConfig := aws.NewConfig().WithRegion("ap-northeast-1")
// awsSession := session.Must(session.NewSession(awsConfig))
//
// // configure the driver
// driver := &rdsmysql.Driver{
// Session: awsSession,
// }
// sql.Register("rdsmysql", driver)
// // configure the driver
// driver := &rdsmysql.Driver{
// Session: awsSession,
// }
// sql.Register("rdsmysql", driver)
//
// // additional code for using the `rdsmysql` driver
// // additional code for using the `rdsmysql` driver
type Driver struct {
// Session is an AWS session
Session *session.Session
Expand Down