To get the package, execute:
go get gopkg.in/jinzhu/gorm.v2/dialects/mysql
To import this package, add the following line to your code:
import "gopkg.in/jinzhu/gorm.v2/dialects/mysql"
For more details, see the API documentation.