EncodeIndexName uses a simple encoding scheme (table$$index) for better visibility which is useful for debugging.
(table, index string)
| 33 | |
| 34 | // EncodeIndexName uses a simple encoding scheme (table$$index) for better visibility which is useful for debugging. |
| 35 | func EncodeIndexName(table, index string) string { |
| 36 | return table + "$$" + index |
| 37 | } |
| 38 | |
| 39 | func DecodeIndexName(encodedName string) (string, string) { |
| 40 | parts := strings.Split(encodedName, "$$") |
no outgoing calls
no test coverage detected