pull/283/head
Fenny 2020-04-20 22:43:40 +02:00
parent 8aa42fb2b1
commit 1927d6bc40
2 changed files with 7 additions and 7 deletions

View File

@ -13,12 +13,12 @@ jobs:
# uses: wei/curl@v1.1.1
# with:
# args: -X POST "https://api.telegram.org/bot"+${{ secrets.TELEGRAM_TOKEN }}+"/sendMessage" -d "chat_id="+${{ secrets.TELEGRAM_TO }}+"&text=HELLO JOE
- name: Notify
uses: appleboy/telegram-action@0.0.7
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: HELLO JOE
# - name: Notify
# uses: appleboy/telegram-action@0.0.7
# with:
# to: ${{ secrets.TELEGRAM_TO }}
# token: ${{ secrets.TELEGRAM_TOKEN }}
# message: HELLO JOE
- name: Install Go
uses: actions/setup-go@v1
with:

2
ctx.go
View File

@ -28,7 +28,7 @@ import (
// Ctx represents the Context which hold the HTTP request and response.
// It has methods for the request query string, parameters, body, HTTP headers and so on.
type Ctx struct {
ap *App // Reference to *App
app *App // Reference to *App
route *Route // Reference to *Route
index int // Index of the current stack
method string // HTTP method