Skip to content

Commit e4b76bf

Browse files
committed
update
1 parent f3d557c commit e4b76bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysql_storage_options.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ func NewMySQLStorageOptions() *MySQLStorageOptions {
2121
}
2222
}
2323

24-
func (x *MySQLStorageOptions) WithConnectionProvider(connManager storage.ConnectionManager[*sql.DB]) *MySQLStorageOptions {
24+
func (x *MySQLStorageOptions) SetConnectionProvider(connManager storage.ConnectionManager[*sql.DB]) *MySQLStorageOptions {
2525
x.ConnectionManager = connManager
2626
return x
2727
}
2828

29-
func (x *MySQLStorageOptions) WithTableName(tableName string) *MySQLStorageOptions {
29+
func (x *MySQLStorageOptions) SetTableName(tableName string) *MySQLStorageOptions {
3030
x.TableName = tableName
3131
return x
3232
}

0 commit comments

Comments
 (0)