Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created March 9, 2021 07:10
Show Gist options
  • Save velotiotech/42775595c32e4e664687b2f2cfb3f90b to your computer and use it in GitHub Desktop.
Save velotiotech/42775595c32e4e664687b2f2cfb3f90b to your computer and use it in GitHub Desktop.
type sudog struct{
g *g
isSelect bool
next *sudog
prev *sudog
elem unsafe.Pointer //data element
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment