Home / File/ data.go — fiber Source File

data.go — fiber Source File

Architecture documentation for data.go, a go file in the fiber codebase. 1 imports, 0 dependents.

File go 1 imports

Entity Profile

Dependency Diagram

graph LR
  6344662c_bb5b_f3c0_1bde_09054fe02213["data.go"]
  f6c42ef8_95c2_b16b_d9c2_df842b25b772["atomic"]
  6344662c_bb5b_f3c0_1bde_09054fe02213 --> f6c42ef8_95c2_b16b_d9c2_df842b25b772
  style 6344662c_bb5b_f3c0_1bde_09054fe02213 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

package logger

import (
	"sync/atomic"
	"time"
)

// Data is a struct to define some variables to use in custom logger function.
type Data struct {
	Start         time.Time
	Stop          time.Time
	ChainErr      error
	Timestamp     atomic.Value
	Pid           string
	ErrPaddingStr string
	TemplateChain [][]byte
	LogFuncChain  []LogFunc
}

Types

Dependencies

  • atomic

Frequently Asked Questions

What does data.go do?
data.go is a source file in the fiber codebase, written in go.
What does data.go depend on?
data.go imports 1 module(s): atomic.
Where is data.go in the architecture?
data.go is located at middleware/logger/data.go (directory: middleware/logger).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free