Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/labstack/gommon
/ functions
Functions
185 in github.com/labstack/gommon
⨍
Functions
185
◇
Types & classes
10
↓ 1 callers
Method
Printj
(j JSON)
log/log.go:148
↓ 1 callers
Method
Println
Println is analogous to `fmt.Println` with termial detection.
color/color.go:167
↓ 1 callers
Function
RedBg
(msg interface{}, styles ...string)
color/color.go:349
↓ 1 callers
Method
RedBg
(msg interface{}, styles ...string)
color/color.go:216
↓ 1 callers
Function
Reset
(msg interface{}, styles ...string)
color/color.go:377
↓ 1 callers
Method
SetPrefix
(p string)
log/log.go:109
↓ 1 callers
Function
Strikeout
(msg interface{}, styles ...string)
color/color.go:405
↓ 1 callers
Method
Strikeout
(msg interface{}, styles ...string)
color/color.go:272
↓ 1 callers
Function
TestLog
(t *testing.T)
log/log_test.go:42
↓ 1 callers
Function
Underline
(msg interface{}, styles ...string)
color/color.go:393
↓ 1 callers
Method
Underline
(msg interface{}, styles ...string)
color/color.go:260
↓ 1 callers
Method
Warnj
(j JSON)
log/log.go:184
↓ 1 callers
Function
White
(msg interface{}, styles ...string)
color/color.go:337
↓ 1 callers
Method
White
(msg interface{}, styles ...string)
color/color.go:204
↓ 1 callers
Function
WhiteBg
(msg interface{}, styles ...string)
color/color.go:373
↓ 1 callers
Method
WhiteBg
(msg interface{}, styles ...string)
color/color.go:240
↓ 1 callers
Function
YellowBg
(msg interface{}, styles ...string)
color/color.go:357
↓ 1 callers
Method
YellowBg
(msg interface{}, styles ...string)
color/color.go:224
↓ 1 callers
Function
output
()
log/color.go:11
↓ 1 callers
Function
runFakeSMTP
runFakeSMTP accepts one connection and drives a minimal SMTP dialog. Returns a channel that closes when the connection is done.
email/email_test.go:62
Function
BenchmarkLog
(b *testing.B)
log/log_test.go:151
Method
Color
()
log/log.go:132
Function
Debug
(i ...interface{})
log/log.go:280
Function
Debugf
(format string, args ...interface{})
log/log.go:284
Function
Debugj
(j JSON)
log/log.go:288
Function
DisableColor
()
log/log.go:232
Function
EnableColor
()
log/log.go:236
Function
Error
(i ...interface{})
log/log.go:316
Function
Errorf
(format string, args ...interface{})
log/log.go:320
Function
Errorj
(j JSON)
log/log.go:324
Function
Fatal
(i ...interface{})
log/log.go:328
Function
Fatalf
(format string, args ...interface{})
log/log.go:332
Function
Fatalj
(j JSON)
log/log.go:336
Function
FormatBinary
FormatBinary wraps global Bytes's FormatBinary function.
bytes/bytes.go:204
Function
Info
(i ...interface{})
log/log.go:292
Function
Infof
(format string, args ...interface{})
log/log.go:296
Function
Infoj
(j JSON)
log/log.go:300
Function
Level
()
log/log.go:248
Function
Output
()
log/log.go:256
Function
Output
Output returns the output.
color/color.go:277
Method
Output
Output returns the output.
color/color.go:139
Function
Panic
(i ...interface{})
log/log.go:340
Function
Panicf
(format string, args ...interface{})
log/log.go:344
Function
Panicj
(j JSON)
log/log.go:348
Function
Prefix
()
log/log.go:240
Function
Print
(i ...interface{})
log/log.go:268
Function
Print
Print is analogous to `fmt.Print` with termial detection.
color/color.go:295
Function
Printf
(format string, args ...interface{})
log/log.go:272
Function
Printf
Printf is analogous to `fmt.Printf` with termial detection.
color/color.go:305
Function
Printj
(j JSON)
log/log.go:276
Method
Send
(m *Message)
email/email.go:94
Function
SetHeader
(h string)
log/log.go:264
Function
SetLevel
(level Lvl)
log/log.go:252
Function
SetOutput
(w io.Writer)
log/log.go:260
Function
SetOutput
SetOutput sets the output.
color/color.go:282
Function
SetPrefix
(p string)
log/log.go:244
Function
Test
(t *testing.T)
random/random_test.go:11
Function
TestBackground
(t *testing.T)
color/color_test.go:22
Function
TestBytesFormat
(t *testing.T)
bytes/bytes_test.go:10
Function
TestBytesParse
(t *testing.T)
bytes/bytes_test.go:112
Function
TestBytesParseErrors
(t *testing.T)
bytes/bytes_test.go:67
Function
TestCallerFile
TestCallerFile verifies that both text and JSON log paths report the user's call site, not an internal wrapper frame. This guards against skip-count d
log/log_test.go:135
Function
TestDial_InvalidAddress
TestDial_InvalidAddress verifies malformed addresses fail fast.
email/email_test.go:54
Function
TestDial_PlainAccepts
TestDial_PlainAccepts verifies non-465 ports dial plaintext and complete the SMTP handshake against a minimal fake server.
email/email_test.go:15
Function
TestDial_Timeout
TestDial_Timeout verifies DialTimeout caps dial wait on unreachable hosts. Uses 203.0.113.1 (TEST-NET-3, RFC 5737) which is unroutable. Timeout is 500
email/email_test.go:41
Function
TestEmphasis
(t *testing.T)
color/color_test.go:34
Function
TestEmptyHeader
(t *testing.T)
log/log_test.go:122
Function
TestEnableDisable
(t *testing.T)
color/color_test.go:55
Function
TestFatal
(t *testing.T)
log/log_test.go:63
Function
TestFloats
(t *testing.T)
bytes/bytes_test.go:74
Function
TestFormat
(t *testing.T)
log/log_test.go:95
Function
TestGlobal
(t *testing.T)
log/log_test.go:47
Function
TestJSON
(t *testing.T)
log/log_test.go:104
Function
TestLogConcurrent
(t *testing.T)
log/log_test.go:51
Function
TestMixMatch
(t *testing.T)
color/color_test.go:46
Function
TestNoFormat
(t *testing.T)
log/log_test.go:92
Function
TestRandomString
(t *testing.T)
random/random_test.go:17
Function
TestRandomStringBias
(t *testing.T)
random/random_test.go:41
Function
TestStringWithQuotes
(t *testing.T)
log/log_test.go:113
Function
TestText
(t *testing.T)
color/color_test.go:9
Function
Warn
(i ...interface{})
log/log.go:304
Function
Warnf
(format string, args ...interface{})
log/log.go:308
Function
Warnj
(j JSON)
log/log.go:312
Function
init
()
log/log.go:56
Function
output
()
log/white.go:10
← previous
101–185 of 185, ranked by callers