Skip to content

Commit

Permalink
Update README.md (#107)
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
Liloupar authored Jan 14, 2021
1 parent 0f58e6b commit faf1a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translation/zhcn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ scaner.Scan(rows, &student)
**scaner.SetTagName是全局设置,为了避免歧义,只允许设置一次,一般在初始化DB阶段进行此项设置**

### ScanMap
ScanMap方法返回的是一个map,有时候你可能不太像定义一个结构体去存你的中间结果,那么ScanMap或许比较有帮助
ScanMap方法返回的是一个map,有时候你可能不太想定义一个结构体去存你的中间结果,那么ScanMap或许比较有帮助

```go
rows,_ := db.Query("select name,m_age from person")
Expand Down

0 comments on commit faf1a3a

Please sign in to comment.