Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-08-20 23:03:51 +03:00
parent 66cf416519
commit 19d1028812
5 changed files with 14 additions and 11 deletions

View File

@@ -14,13 +14,13 @@ var (
GithubName = "Github"
GithubEndpoints = []api.Endpoint{
api.Endpoint{
{
Name: "Github.LookupUser",
Path: []string{"/users/{username}"},
Method: []string{"GET"},
Handler: "rpc",
},
api.Endpoint{
{
Name: "Github.LookupUserWithoutPath",
Path: []string{"/{username}"},
Method: []string{"GET"},