Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top