api: improve parity of /{modules,projects}/{list,info} routes
These endpoint are similar in many ways, therefore just one commit. Their functionality is basically same as in lorax except for error messages and weird edge cases when handling trailing slashes. closes #64, closes #65
This commit is contained in:
parent
2ed070b218
commit
dd9a815c40
6 changed files with 441 additions and 232 deletions
1
go.mod
1
go.mod
|
|
@ -4,6 +4,7 @@ go 1.12
|
|||
|
||||
require (
|
||||
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f
|
||||
github.com/gobwas/glob v0.2.3
|
||||
github.com/google/uuid v1.1.1
|
||||
github.com/julienschmidt/httprouter v1.2.0
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue