Skip to content

Commit

Permalink
Fix code example in README (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkly authored and easonlin404 committed Nov 7, 2018
1 parent 6993bc5 commit cea5516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,10 +516,10 @@ type Account struct {
```go
type Account struct {
// Override primitive type by simply specifying it via `swaggertype` tag
ID sql.NullInt64 `json:"id" swaggertype:"integer"
ID sql.NullInt64 `json:"id" swaggertype:"integer"`
// Array types can be overridden using "array,<prim_type>" format
Coeffs []big.Float `json:"coeffs" swaggertype:"array,number"
Coeffs []big.Float `json:"coeffs" swaggertype:"array,number"`
}
```
Expand Down

0 comments on commit cea5516

Please sign in to comment.