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

exercise-slices.go can't run for result #1649

Open
D50000 opened this issue Sep 14, 2024 · 0 comments
Open

exercise-slices.go can't run for result #1649

D50000 opened this issue Sep 14, 2024 · 0 comments

Comments

@D50000
Copy link

D50000 commented Sep 14, 2024

Context: https://go.dev/tour/moretypes/18

How to run this code?

It will show:

go: downloading golang.org/x/tour v0.0.0-20201207214521-004403599411
# example
./prog.go:6:1: missing return

Go build failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant