Split the error case (no sources specified) into its own function, so that we can use `source/info/:sources` (note the colon) to get the list of sources without the leading `/`. This gets rid of two special cases which made the previous implementation hard to parse. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| util.go | ||