Skip to content

Commit

Permalink
Correctly print id in library example (eatonphil#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tramcarjobs authored Apr 29, 2020
1 parent eb43261 commit b9716af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/libraryexample/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
s := ""
switch typ {
case gosql.IntType:
s = fmt.Sprintf("%d", cell.AsInt())
s = fmt.Sprintf("%d", *cell.AsInt())
case gosql.TextType:
s = *cell.AsText()
}
Expand Down

0 comments on commit b9716af

Please sign in to comment.