Skip to content

Instantly share code, notes, and snippets.

@luizbranco luizbranco/main.go
Created Nov 23, 2017

What would you like to do?
promptui demo step 3
const apiURL = ""
query := apiURL + "?q=" + keyword
client := &http.Client{Timeout: 10 * time.Second}
r, err := client.Get(query)
if err != nil {
defer r.Body.Close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.