作者在 2012-12-08 22:05:12 发布以下内容
godoc fmt Println
godoc fmt
非常方便
PACKAGE
package fmt
import "fmt"
FUNCTIONS
func Println(a ...interface{}) (n int, err error)
Println formats using the default formats for its operands and writes to
standard output. Spaces are always added between operands and a newline
is appended. It returns the number of bytes written and any write error
encountered.
godoc fmt
PACKAGE
package fmt
import "fmt"
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.
Printing
The verbs:
......
非常方便