package unsafe2
Import Path
github.com/traefik/yaegi/internal/unsafe2 (on go.dev)
Dependency Relation
imports 2 packages, and imported by one package
Involved Source Files
Package unsafe2 provides helpers to generate recursive struct types.
Package-Level Functions (only one)
SetFieldType sets the type of the struct field at the given index, to the given type.
The struct type must have been created at runtime. This is very unsafe.
Package-Level Variables (only one)
DummyType represents a stand-in for a recursive type.
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |