Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| div.fireColor { | |
| color: {{ .Colors.Fire }}; | |
| } | |
| div.waterColor { | |
| color: {{ .Colors.Water }}; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Package main runs a test to query a database backed by a mock driver. | |
| // The test normally passes, but often fails when run with a large count and the go race detector: | |
| // go run -race query.go --test.count=100 | |
| package main | |
| import ( | |
| "context" | |
| "database/sql" | |
| "database/sql/driver" | |
| "testing" |