Skip to content

Fix type error #1184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ja/05.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ValueConverterインターフェースはどのように普通の値をdriver.Va

開発しているデータベースドライバパッケージではこのインターフェースの関数が多くの場所で利用されています。このValueConverterにはメリットがたくさんあります:

- driver.valueはデータベース表の対応するフィールドに特化されています。たとえばint64のデータがどのようにデータベース表のunit16フィールドに変換されるかといったことです。
- driver.Valueはデータベース表の対応するフィールドに特化されています。たとえばint64のデータがどのようにデータベース表のunit16フィールドに変換されるかといったことです。
- データベースの検索結果をdriver.Value値に変換します。
- scan関数ではどのようにしてdriver.Valueの値をユーザが定義した値に変換するか

Expand Down
2 changes: 1 addition & 1 deletion zh-tw/05.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type ValueConverter interface {
```
在開發的資料庫驅動套件裡面實現這個介面的函式在很多地方會使用到,這個 ValueConverter 有很多好處:

- 轉化 driver.value 到資料庫表相應的欄位,例如 int64 的資料如何轉化成資料庫表 uint16 欄位
- 轉化 driver.Value 到資料庫表相應的欄位,例如 int64 的資料如何轉化成資料庫表 uint16 欄位
- 把資料庫查詢結果轉化成 driver.Value 值
- 在 scan 函式裡面如何把 driver.Value 值轉化成使用者定義的值

Expand Down
2 changes: 1 addition & 1 deletion zh/05.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ type ValueConverter interface {
```
在开发的数据库驱动包里面实现这个接口的函数在很多地方会使用到,这个ValueConverter有很多好处:

- 转化driver.value到数据库表相应的字段,例如int64的数据如何转化成数据库表uint16字段
- 转化driver.Value到数据库表相应的字段,例如int64的数据如何转化成数据库表uint16字段
- 把数据库查询结果转化成driver.Value值
- 在scan函数里面如何把driver.Value值转化成用户定义的值

Expand Down