go version)?go version go1.10 linux/amd64
Yes.
go env)?GOARCH="amd64"
GOBIN=""
GOCACHE="/home/vagrant/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/vagrant/go"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build279712786=/tmp/go-build -gno-record-gcc-switches"
See how to use the fmt.Printf function from an example in the docs.
Examples at https://golang.org/pkg/fmt/
Only one example at https://golang.org/pkg/fmt/
Change https://golang.org/cl/132057 mentions this issue: fmt: add an example for Printf function
was this a result of @kevinburke's talk? :)
Yup :)
Change https://golang.org/cl/135095 mentions this issue: fmt: add example for Printf
Hi @mooreds - adding any further examples to fmt has been superceded by https://github.com/golang/go/issues/27554 now as per @robpike 's comment.
Sorry for the troubles. I hope this does not discourage you from contributing again in the future ! Please do feel free to add examples in other packages or any other task that you want to pickup :)
If you have any doubts, please ask around in the forums. Thanks again for your effort.
Change https://golang.org/cl/145917 mentions this issue: fmt: add additional example for Printf.
Change https://golang.org/cl/145917 mentions this issue: fmt: add additional example for Printf.
@agnivade no worries! I'm just glad there are examples now.
Most helpful comment
@agnivade no worries! I'm just glad there are examples now.