MCPcopy Create free account
hub / github.com/basecamp/hey-cli / formatTimestamp

Function formatTimestamp

internal/cmd/sdk.go:107–112  ·  view source on GitHub ↗

--- Timestamp formatting helpers --- formatTimestamp formats a time.Time to "YYYY-MM-DDTHH:MM" display format.

(ts time.Time)

Source from the content-addressed store, hash-verified

105}
106
107func selectConfiguredAccount(ctx context.Context) error {
108 client, err := clientForAccountSelection(ctx, rootSDK, cfg.AccountID)
109 if err != nil {
110 return err
111 }
112 sdk = client
113 return nil
114}
115

Callers 6

runMethod · 0.70
TestFormatTimestampUTCFunction · 0.70
TestFormatTimestampZeroFunction · 0.70
runMethod · 0.70
runMethod · 0.70

Calls

no outgoing calls

Tested by 3

TestFormatTimestampUTCFunction · 0.56
TestFormatTimestampZeroFunction · 0.56