Colors Type — fiber Architecture
Architecture documentation for the Colors type/interface in color.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 1ec4b513_94fc_ac14_58db_adcddfa0a7fd["Colors"] e604ecc4_bb24_3e26_cab8_3ad6ed2052de["color.go"] 1ec4b513_94fc_ac14_58db_adcddfa0a7fd -->|defined in| e604ecc4_bb24_3e26_cab8_3ad6ed2052de style 1ec4b513_94fc_ac14_58db_adcddfa0a7fd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
color.go lines 8–53
type Colors struct {
// Black color.
//
// Optional. Default: "\u001b[90m"
Black string
// Red color.
//
// Optional. Default: "\u001b[91m"
Red string
// Green color.
//
// Optional. Default: "\u001b[92m"
Green string
// Yellow color.
//
// Optional. Default: "\u001b[93m"
Yellow string
// Blue color.
//
// Optional. Default: "\u001b[94m"
Blue string
// Magenta color.
//
// Optional. Default: "\u001b[95m"
Magenta string
// Cyan color.
//
// Optional. Default: "\u001b[96m"
Cyan string
// White color.
//
// Optional. Default: "\u001b[97m"
White string
// Reset color.
//
// Optional. Default: "\u001b[0m"
Reset string
}
Defined In
Source
Frequently Asked Questions
What is the Colors type?
Colors is a type/interface in the fiber codebase, defined in color.go.
Where is Colors defined?
Colors is defined in color.go at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free