You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- 一般 print和println这两个内置函数并不推荐使用, 在正式的项目中,我们应该尽量使用fmt标准库包声明的相应函数
- Go大括号 {} 来显示一个代码块 但是在Go中 { 不能放到下一行 这限制的好处(加快编译速度, 统一编程风格)
- log标准库中的打印函数是经过了同步处理的, 而fmt标准库中的打印函数却没有被同步, 如果多协程中使用fmt打印则可能会交织在一起(概率性很低)