Skip to content

Instantly share code, notes, and snippets.

@Depado
Created March 27, 2018 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Depado/ff35bf37f4cd7dc70b4c72c03dbd9da3 to your computer and use it in GitHub Desktop.
Save Depado/ff35bf37f4cd7dc70b4c72c03dbd9da3 to your computer and use it in GitHub Desktop.
out := fmt.Sprintf("I found that cocktail : %s", d.StrDrink)
dff := &df.Fulfillment{
FulfillmentMessages: df.Messages{
{RichMessage: df.Text{Text: []string{out}}},
df.ForGoogle(cardFromDrink(d)),
},
}
c.JSON(http.StatusOK, dff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment