Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- response := GetArticles()
- processResponse(response, printResponse)
- func printResponse(response <what_type?>) {
- for i := range response.Articles {
- fmt.Println(response.Articles[i].Title)
- }
- }
Add Comment
Please, Sign In to add comment