mirror of
https://github.com/nabbar/golib.git
synced 2025-12-24 11:51:02 +08:00
Package Logger :
Add function to log minimalist information and access log (latency, size remote info, ...)
Add option to transform (exclusif) logger as access logger
fix errors & optimize
Package Router :
Update methode to start gin engine with access / error logger from package logger
fix error into middleware logger
use specif middleware for starttime and request path
optimize
Package ioutils :
fix tools : missing control path still existing to prevent truncate destination file
fix tools : ignore chmod error (not mandatory if file can be create/append)
Package Prometheus :
use generic starttime into context if available
Bump Dependencies
This commit is contained in:
committed by
Nicolas JUHEL
parent
609eaa68e1
commit
c9db0074bc
3
.github/workflows/go.yml
vendored
3
.github/workflows/go.yml
vendored
@@ -58,7 +58,6 @@ jobs:
|
||||
env:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
GOAMD64: v4
|
||||
CGO_ENABLED: 0
|
||||
|
||||
- name: Check goSecu + snyk.io
|
||||
@@ -67,7 +66,6 @@ jobs:
|
||||
env:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
GOAMD64: v4
|
||||
CGO_ENABLED: 0
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
|
||||
@@ -89,7 +87,6 @@ jobs:
|
||||
env:
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
GOAMD64: v4
|
||||
CGO_ENABLED: 0
|
||||
|
||||
- name: Add ming-w32 (x86 + win64)
|
||||
|
||||
Reference in New Issue
Block a user