MCPcopy
hub / github.com/uber/aresdb / sprintfStrings

Function sprintfStrings

utils/table_writer.go:52–58  ·  view source on GitHub ↗
(format string, strs []string)

Source from the content-addressed store, hash-verified

50}
51
52func sprintfStrings(format string, strs []string) string {
53 values := make([]interface{}, len(strs))
54 for i, v := range strs {
55 values[i] = v
56 }
57 return fmt.Sprintf(format, values...)
58}
59
60// WriteTable renders a tabular representation from underlying data source.
61// If there is no column for this data source, it will return an empty string.

Callers 2

WriteTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected