1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 06:04:23 +00:00

Merge pull request #285 from Fenny/master

v1.9.2
This commit is contained in:
Fenny 2020-04-23 23:17:49 +02:00 committed by GitHub
commit 54d36d5f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 35 additions and 8 deletions

View File

@ -24,6 +24,9 @@
<!--<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <!--<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a>--> </a>-->
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<!--<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <!--<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a>--> </a>-->

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -24,6 +24,9 @@
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_de.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/de.svg">
</a> </a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_nl.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/nl.svg">
</a>
<a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md"> <a href="https://github.com/gofiber/fiber/blob/master/.github/README_ko.md">
<img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg"> <img height="20px" src="https://github.com/gofiber/docs/blob/master/static/flags/ko.svg">
</a> </a>

View File

@ -14,4 +14,4 @@ jobs:
- name: Run Gosec Security Scanner - name: Run Gosec Security Scanner
uses: securego/gosec@master uses: securego/gosec@master
with: with:
args: ./... args: ./...

View File

@ -1,12 +1,10 @@
on: [push, pull_request] on: [push, pull_request]
name: Test name: Test
jobs: jobs:
Testing: test:
strategy: strategy:
matrix: matrix:
# go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x] go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x]
# platform: [ubuntu-latest, windows-latest, macos-latest]
go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x]
platform: [ubuntu-latest, windows-latest] platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@ -17,5 +15,4 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Test - name: Test
run: go test -v run: go test -v

2
app.go
View File

@ -24,7 +24,7 @@ import (
) )
// Version of current package // Version of current package
const Version = "1.9.1" const Version = "1.9.2"
// Map is a shortcut for map[string]interface{} // Map is a shortcut for map[string]interface{}
type Map map[string]interface{} type Map map[string]interface{}