Skip to content

Instantly share code, notes, and snippets.

@Depado
Created March 27, 2018 13:29
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/42e7f34e6feee41ca22a948faafc4abe to your computer and use it in GitHub Desktop.
Save Depado/42e7f34e6feee41ca22a948faafc4abe 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(df.SingleSimpleResponse(out, out)),
},
}
c.JSON(http.StatusOK, dff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment