baggiiiie

~

/

zettelkasten

/

go untyped constant

go-untyped-constant

Sep 30, 2025

  • learning
  • go
  • programming
  • tbc

what’s untyped constant in Go

tags: learning go programming tbc

content

in this example:

go-type-definition-and-alias#untyped-constant

  • MyInt is not the exact same as int

  • but this code works

  • this is because 1 is an untyped constant

  • Constants - The Go Programming Language

  • go - What is a rune? - Stack Overflow

  • go-rune

up

  • go-named-type
  • go-type-definition-and-alias

down

reference


Graph View

  • what’s untyped constant in Go
  • content
  • up
  • down
  • reference

Backlinks

  • go-type-definition-and-alias

baggiiiie's learning notes on tech stuff