> A "fmt" (presumably "format") package is not where I would expect to find a send-to-stdout function.

Depends on which language you're coming from. In Go that's exactly the place: https://pkg.go.dev/fmt#Println