An open API service indexing awesome lists of open source software.

https://github.com/ivanrad/go-weakref

🧪🥼 weak reference in Go
https://github.com/ivanrad/go-weakref

go

Last synced: 6 months ago
JSON representation

🧪🥼 weak reference in Go

Awesome Lists containing this project

README

          

# weakref

Weak reference in Go. Adapted/fixed code from: https://play.golang.org/p/f9HY6-z8Pp

This is just an experiment for educational purposes. You really should not be
using this in your code as it depends on runtime representation of [interfaces
in Go][interfaces-in-go], is super-unreliable, probably has bugs, and
yadda yadda yadda... TL;DR **Do not use this code** (or use at your own risk).

[interfaces-in-go]: https://research.swtch.com/interfaces