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