Question

What does the "fmt" acronym mean in Golang? "fmt" is a package that provides I/O functions like Println (you can import it with import "fmt").

I suppose that the "f" means formatting but can't find a proper answer.

Was it helpful?

Solution

fmt is short for format. From the docs

Package fmt implements formatted I/O with functions analogous to C's printf and scanf. The format 'verbs' are derived from C's but are simpler.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top