Standard library / go/types
go/types.Complex64
BasicKind for complex64; indexes the Typ table. Aliases Byte and Rune share the Uint8 and Int32 indexes respectively. Expected stdout: 'complex64\n'.
Formal Syntax & Structure
go syntaxgo
const Complex64 BasicKindWorking Example
Example Snippetgo
package main
import ( "fmt" "go/types")
func main() { fmt.Println(types.Typ[types.Complex64].Name()) }