diff --git a/de/05.1.md b/de/05.1.md index a590377e7c20b199045d827f39dfe46406ea66a2..82316e0aad7a6403b5320e8311f325a9188bcedb 100644 --- a/de/05.1.md +++ b/de/05.1.md @@ -185,7 +185,7 @@ At this point, you should know a bit about developping database drivers in Go. O ## database/sql -databse/sql defines even more high-level methods on top of database/sql/driver for more convenient database operations, and it suggests that you implement a connection pool. +database/sql defines even more high-level methods on top of database/sql/driver for more convenient database operations, and it suggests that you implement a connection pool. type DB struct { driver driver.Driver diff --git a/de/05.2.md b/de/05.2.md index 3cca3f5a982e2a313fd5131295d6d60d40ad244e..f51f1acaead74b33a39dc161a720aa6aedcc1b87 100644 --- a/de/05.2.md +++ b/de/05.2.md @@ -13,7 +13,7 @@ There are a couple of drivers that support MySQL in Go. Some of them implement t I'll use the first driver in the following examples (I use this one in my personal projects too), and I also recommend that you use it for the following reasons: - It's a new database driver and supports more features. -- Fully supports `databse/sql` interface standards. +- Fully supports `database/sql` interface standards. - Supports keepalive, long connections with thread-safety. ## Samples diff --git a/pt-br/05.1.md b/pt-br/05.1.md index a590377e7c20b199045d827f39dfe46406ea66a2..82316e0aad7a6403b5320e8311f325a9188bcedb 100644 --- a/pt-br/05.1.md +++ b/pt-br/05.1.md @@ -185,7 +185,7 @@ At this point, you should know a bit about developping database drivers in Go. O ## database/sql -databse/sql defines even more high-level methods on top of database/sql/driver for more convenient database operations, and it suggests that you implement a connection pool. +database/sql defines even more high-level methods on top of database/sql/driver for more convenient database operations, and it suggests that you implement a connection pool. type DB struct { driver driver.Driver diff --git a/pt-br/05.2.md b/pt-br/05.2.md index 3cca3f5a982e2a313fd5131295d6d60d40ad244e..f51f1acaead74b33a39dc161a720aa6aedcc1b87 100644 --- a/pt-br/05.2.md +++ b/pt-br/05.2.md @@ -13,7 +13,7 @@ There are a couple of drivers that support MySQL in Go. Some of them implement t I'll use the first driver in the following examples (I use this one in my personal projects too), and I also recommend that you use it for the following reasons: - It's a new database driver and supports more features. -- Fully supports `databse/sql` interface standards. +- Fully supports `database/sql` interface standards. - Supports keepalive, long connections with thread-safety. ## Samples diff --git a/ru/05.1.md b/ru/05.1.md index 47880e26d4fe8268cbeddbbb03cac179b900e3ed..b84c9f70dec5c3375834773576b02b57b2457cd4 100644 --- a/ru/05.1.md +++ b/ru/05.1.md @@ -21,7 +21,7 @@ sql.Register("mymysql", &d) } -Мы видим, что все сторонние драйвера вызывают данную функцию для саморегистрации. При этом Go использует карту для сохранения информации о пользовательском драйвере внутри `databse/sql`. +Мы видим, что все сторонние драйвера вызывают данную функцию для саморегистрации. При этом Go использует карту для сохранения информации о пользовательском драйвере внутри `database/sql`. var drivers = make(map[string]driver.Driver) @@ -185,7 +185,7 @@ driver.Rows - это интерфейс для возвращения резул ## database/sql -`databse/sql` определяет высокоуровневые методы для более удобной работы с базами данных (выше чем драйвера) и предлагает вам реализовать пул соединений. +`database/sql` определяет высокоуровневые методы для более удобной работы с базами данных (выше чем драйвера) и предлагает вам реализовать пул соединений. type DB struct { driver driver.Driver diff --git a/ru/05.2.md b/ru/05.2.md index 34cec97713cc6219cc0e3473eae455b279e0ede8..a2699e18004c856bcfecc00ae94a03d69374d4ea 100644 --- a/ru/05.2.md +++ b/ru/05.2.md @@ -13,7 +13,7 @@ Я буду использовать первый драйвер в моих будущих примерах (в моих проекта я тоже использую его). Я рекомендую вам использовать его по следующим причинам: - Это новый драйвер базы данных и он предоставляет множество возможностей. -- Полностью поддерживает стандарты интерфейса `databse/sql`. +- Полностью поддерживает стандарты интерфейса `database/sql`. - Поддерживает постоянное соединение между потоками. ## Примеры