Search gists (#68)

This commit is contained in:
Thomas Miceli
2023-06-21 18:19:17 +02:00
committed by GitHub
parent 98c5cd1794
commit 7b5d035a32
10 changed files with 334 additions and 74 deletions

View File

@ -337,7 +337,6 @@ func urlJoin(base string, elem ...string) string {
}
func getAvatarUrlFromProvider(provider string, identifier string) string {
fmt.Println("getAvatarUrlFromProvider", provider, identifier)
switch provider {
case "github":
return "https://avatars.githubusercontent.com/u/" + identifier + "?v=4"