mirror of https://github.com/gofiber/fiber.git
Test
parent
8aa42fb2b1
commit
1927d6bc40
|
@ -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
2
ctx.go
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue