equalValueType returns true if the two value types are semantically equal. It ignores the internal fields used during encode/decode.
(st1, st2 *ValueType)
| 541 | // equalValueType returns true if the two value types are semantically |
| 542 | // equal. It ignores the internal fields used during encode/decode. |
| 543 | func equalValueType(st1, st2 *ValueType) bool { |
| 544 | return st1.Type == st2.Type && st1.Unit == st2.Unit |
| 545 | } |
| 546 | |
| 547 | // locationIDMap is like a map[uint64]*Location, but provides efficiency for |
| 548 | // ids that are densely numbered, which is often the case. |
no outgoing calls
no test coverage detected
searching dependent graphs…