Standard library / go/types

go/types.Unsafe

Special package descriptor for the unsafe package. Expected stdout: 'unsafe\n'.

Formal Syntax & Structure

go syntaxgo
var Unsafe *Package

Working Example

Example Snippetgo
package main
import (  "fmt"  "go/types")
func main() { fmt.Println(types.Unsafe.Path()) }
Go Reference