MCPcopy Create free account
hub / github.com/chain/Core / formatPrefix

Function formatPrefix

database/pg/pgtest/pgtest.go:247–249  ·  view source on GitHub ↗
(prefix string, t time.Time)

Source from the content-addressed store, hash-verified

245}
246
247func formatPrefix(prefix string, t time.Time) string {
248 return "pgtest_" + prefix + "_" + t.UTC().Format(timeFormat) + "Z_"
249}
250
251// Exec executes q in the database or transaction in ctx.
252// If there is an error, it fails t.

Callers 2

gcdbsFunction · 0.85
pickNameFunction · 0.85

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected