Go: Meaning of the 'fmt' package acronym

前端 未结 1 2052
深忆病人
深忆病人 2021-02-05 00:53

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 \

相关标签:
1条回答
  • 2021-02-05 01:02

    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.

    0 讨论(0)
提交回复
热议问题