在irc討論function時發現Document裡的一件趣事。
11:44 < happy> anyone know what function converts a string to an int?
11:48 < kevinwatt> happy: http://golang.org/pkg/strconv/#Atof64
11:49 < happy> ty
11:49 < happy> lol
11:51 < happy> Atoi is like Atoi64 but returns its result as an int; Atoi64 is
like Atoui64 but allows signed numbers and returns its result in
an int64.; Atoui is like Atoui64 but returns its result as a
uint.
11:51 < happy> does it go on forever? They are in reverse order :-\
11:51 < happy> the one at the top says refer to the next one which says refer to the next one…
文件中一直請你參照別的function,就像鬼打牆一樣繞不出去。
Atoi這種其實只要簡單的一行說明就好了,沒有說明卻一直附上參考實在是頗有趣…
