(format string, strs []string)
| 50 | } |
| 51 | |
| 52 | func 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. |
no outgoing calls
no test coverage detected