Go doc examples from the command line?

109 views
Skip to first unread message

Steve Mynott

unread,
Jan 21, 2022, 5:38:19 AM1/21/22
to golang-nuts
I've been using, for example. "go doc -all encoding/csv" to display
docs from the command line.

Is there any of displaying the code examples visible from the go.dev
site from the command line for a particular package in the std lib?

--
Steve Mynott <steve....@gmail.com>
rsa3072/629FBB91565E591955B5876A79CEFAA4450EBD50

Sean Liao

unread,
Jan 21, 2022, 6:35:44 AM1/21/22
to golang-nuts
Reply all
Reply to author
Forward
0 new messages