Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldToStruct ¶
FieldToStruct builds a map that links struct field objects back to their declaring struct type. This is used when obfuscating field names and relies on the provided type information.
func IsSafeInstanceType ¶
IsSafeInstanceType reports whether the provided type can be safely used as a variable type when rewriting consts into vars. Generic types and interface types without method sets are excluded.
func IsTestSignature ¶
IsTestSignature reports whether a function signature matches the Go test helper pattern "func _(*testing.T)".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.