feat(middlewares): Continue adding std middlewares
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Matthieu 'JP' DERASSE
2023-01-29 15:56:09 +00:00
parent b517779842
commit d880059980
8 changed files with 61 additions and 8 deletions

View File

@ -7,7 +7,7 @@ import (
"github.com/sirupsen/logrus"
)
// list of common environment variables
// list of common environment variables.
var commonEnvs = []string{"APP_NAME", "APP_VERSION"}
// AddCommonFieldsFromEnv will analyze "common" environment variable and will add those