用godoc查看golang文档

作者在 2012-12-08 22:05:12 发布以下内容
godoc fmt Println
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:

    ......

非常方便
golang | 阅读 8889 次
文章评论,共0条
游客请输入验证码
浏览2792094次
文章归档