MCPcopy Index your code
hub / github.com/coder/wush / Timestamp

Function Timestamp

cliui/cliui.go:85–87  ·  view source on GitHub ↗

Timestamp formats a timestamp for display.

(t time.Time)

Source from the content-addressed store, hash-verified

83
84// Timestamp formats a timestamp for display.
85func Timestamp(t time.Time) string {
86 return pretty.Sprint(DefaultStyles.DateTimeStamp, t.Format(time.TimeOnly))
87}
88
89// Keyword formats a keyword for display.
90func Keyword(s string) string {

Callers 6

ConnectMethod · 0.92
handleNextMessageMethod · 0.92
ListenOverlaySTUNMethod · 0.92
handleNextMessageMethod · 0.92
ListenOverlaySTUNMethod · 0.92
ListenOverlayDERPMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected