Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: Add an example for Printf #27349

Closed
mooreds opened this issue Aug 29, 2018 · 8 comments
Closed

fmt: Add an example for Printf #27349

mooreds opened this issue Aug 29, 2018 · 8 comments

Comments

@mooreds
Copy link

@mooreds mooreds commented Aug 29, 2018

What version of Go are you using (go version)?

go version go1.10 linux/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (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"

What did you do?

See how to use the fmt.Printf function from an example in the docs.

What did you expect to see?

Examples at https://golang.org/pkg/fmt/

What did you see instead?

Only one example at https://golang.org/pkg/fmt/

@gopherbot
Copy link

@gopherbot gopherbot commented Aug 29, 2018

Change https://golang.org/cl/132057 mentions this issue: fmt: add an example for Printf function

@FiloSottile FiloSottile added this to the Go1.12 milestone Aug 29, 2018
@mvdan
Copy link
Member

@mvdan mvdan commented Aug 30, 2018

was this a result of @kevinburke's talk? :)

@mooreds
Copy link
Author

@mooreds mooreds commented Aug 30, 2018

Yup :)

@kevinburke kevinburke mentioned this issue Aug 30, 2018
11 of 25 tasks complete
@gopherbot
Copy link

@gopherbot gopherbot commented Sep 12, 2018

Change https://golang.org/cl/135095 mentions this issue: fmt: add example for Printf

@agnivade
Copy link
Contributor

@agnivade agnivade commented Sep 19, 2018

Hi @mooreds - adding any further examples to fmt has been superceded by #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.

@gopherbot
Copy link

@gopherbot gopherbot commented Nov 2, 2018

Change https://golang.org/cl/145917 mentions this issue: fmt: add additional example for Printf.

1 similar comment
@gopherbot
Copy link

@gopherbot gopherbot commented Nov 2, 2018

Change https://golang.org/cl/145917 mentions this issue: fmt: add additional example for Printf.

@mooreds
Copy link
Author

@mooreds mooreds commented Nov 3, 2018

@agnivade no worries! I'm just glad there are examples now.

@golang golang locked and limited conversation to collaborators Nov 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

5 participants
You can’t perform that action at this time.