Documentation ¶ Overview ¶ Provides the result of a flipping coin. Index ¶ func Execute(ReplyToken string, Client *linebot.Client) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute(ReplyToken string, Client *linebot.Client) Provides the result of a flipping coin. It generates a random number between 1 and 2 (inclusive). Will return "heads" if the value is 1, and "tails" if the value is 2, or otherwise, depending on the configuration. Types ¶ This section is empty. Source Files ¶ View all Source files coin.go Click to show internal directories. Click to hide internal directories.