Skip to content

Commit

Permalink
Merge pull request #76 from shogo82148/run-go-fmt-with-go1.21
Browse files Browse the repository at this point in the history
run go fmt with Go 1.21.0
  • Loading branch information
shogo82148 authored Aug 30, 2023
2 parents 0662ca6 + f500577 commit 83b9cf5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
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

0 comments on commit 83b9cf5

Please sign in to comment.