CustomIndex is a simple custom indexer that doesn't add any suffixes to its object keys; this is compatible with the LongestPrefixMatch algorithm.
| 1164 | // CustomIndex is a simple custom indexer that doesn't add any suffixes to its |
| 1165 | // object keys; this is compatible with the LongestPrefixMatch algorithm. |
| 1166 | type CustomIndex struct{} |
| 1167 | |
| 1168 | // FromObject takes the Foo field of a TestObject and prepends a null. |
| 1169 | func (*CustomIndex) FromObject(obj interface{}) (bool, []byte, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected