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.

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top