mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-04 23:45:34 +00:00
9bf13fc3d1
Add a new lookupTypeHasher function that is just a cached front-end around the makeTypeHasher function. We do not need to worry about the recursive type cycle issue that made getTypeInfo more complicated since makeTypeHasher is not directly recursive. All calls to itself happen lazily through a sync.Once upon first use. Signed-off-by: Joe Tsai <joetsai@digital-static.net> |
||
---|---|---|
.. | ||
testtype | ||
debug.go | ||
deephash_test.go | ||
deephash.go | ||
pointer_norace.go | ||
pointer_race.go | ||
pointer.go | ||
types_test.go | ||
types.go |