Releases: MeteorsLiu/go-runtime-hack
Releases · MeteorsLiu/go-runtime-hack
Release list
Refactor: rename
Lately i found this project is useful when i tried to hack Go's runtime.
However, i forgot i wrote this tool and took me a long time to find it becase of the wrong repo name
Allow to get/modify the value in P struct
v1.2 allow to modify the struct field in P
Allow to change the value in M/G struct
This is a hack tool for Go runtime.
Please read the readme.md for more details.
Get custom Data from TLS in G.
Example:
CustomInG[uint64]("goid")
Be careful!
Make sure your type and type name are correct.
YOU SHOULD CHECK THE SOURCE IN RUMTIME BEFORE USING.