We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3d557c commit e4b76bfCopy full SHA for e4b76bf
mysql_storage_options.go
@@ -21,12 +21,12 @@ func NewMySQLStorageOptions() *MySQLStorageOptions {
21
}
22
23
24
-func (x *MySQLStorageOptions) WithConnectionProvider(connManager storage.ConnectionManager[*sql.DB]) *MySQLStorageOptions {
+func (x *MySQLStorageOptions) SetConnectionProvider(connManager storage.ConnectionManager[*sql.DB]) *MySQLStorageOptions {
25
x.ConnectionManager = connManager
26
return x
27
28
29
-func (x *MySQLStorageOptions) WithTableName(tableName string) *MySQLStorageOptions {
+func (x *MySQLStorageOptions) SetTableName(tableName string) *MySQLStorageOptions {
30
x.TableName = tableName
31
32
0 commit comments