Skip to content

Commit c34a7d5

Browse files
committed
Fix paths
1 parent b68b278 commit c34a7d5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

frameworks/Go/indigo/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ This is the go portion of a [benchmarking test suite](https://www.techempower.co
77
## Test URLs
88
* http://localhost:8080/json
99
* http://localhost:8080/db
10-
* http://localhost:8080/queries?n=[1-500]
10+
* http://localhost:8080/query?n=[1-500]
1111
* http://localhost:8080/update?n=[1-500]
12-
* http://localhost:8080/cached-worlds?n=[1-500]
12+
* http://localhost:8080/cached-query?n=[1-500]
1313
* http://localhost:8080/fortune
1414
* http://localhost:8080/plaintext

frameworks/Go/indigo/benchmark_config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"default": {
66
"json_url": "/json",
77
"db_url": "/db",
8-
"query_url": "/queries?n=",
8+
"query_url": "/query?n=",
99
"update_url": "/update?n=",
10-
"cached_query_url": "/cached-worlds?n=",
10+
"cached_query_url": "/cached-query?n=",
1111
"fortune_url": "/fortune",
1212
"plaintext_url": "/plaintext",
1313
"port": 8080,

frameworks/Go/indigo/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ name = "indigo"
44
[main]
55
urls.json = "/json"
66
urls.db = "/db"
7-
urls.query = "/queries?n="
7+
urls.query = "/query?n="
88
urls.update = "/update?n="
9-
urls.cached_query = "/cached-worlds?q="
9+
urls.cached_query = "/cached-query?q="
1010
urls.fortune = "/fortune"
1111
urls.plaintext = "/plaintext"
1212
approach = "Realistic"

frameworks/Go/indigo/src/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ func main() {
3535

3636
router.Resource("/json").Get(app.HandleJSON)
3737
router.Resource("/db").Get(app.HandleDB)
38-
router.Resource("/queries").Get(app.HandleQueries)
38+
router.Resource("/query").Get(app.HandleQueries)
3939
router.Resource("/update").Get(app.HandleUpdate)
40-
router.Resource("/cached-worlds").Get(app.HandleCachedWorlds)
40+
router.Resource("/cached-query").Get(app.HandleCachedWorlds)
4141
router.Resource("/fortune").Get(app.HandleFortunes)
4242
router.Resource("/plaintext").Get(app.HandlePlaintext)
4343

0 commit comments

Comments
 (0)