mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-19 22:20:04 +00:00
* golangci-lint: add and apply more stricter linting rules * github: drop security workflow now that we use gosec linter inside golangci-lint * github: use official golangci-lint CI linter * Add editorconfig and gitattributes file
17 lines
294 B
Go
17 lines
294 B
Go
package logger
|
|
|
|
import (
|
|
"sync/atomic"
|
|
"time"
|
|
)
|
|
|
|
// Data is a struct to define some variables to use in custom logger function.
|
|
type Data struct {
|
|
Pid string
|
|
ErrPaddingStr string
|
|
ChainErr error
|
|
Start time.Time
|
|
Stop time.Time
|
|
Timestamp atomic.Value
|
|
}
|