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

Question about Go reference types in the map charactper #326

Closed
chenxinlong opened this issue Mar 15, 2020 · 1 comment
Closed

Question about Go reference types in the map charactper #326

chenxinlong opened this issue Mar 15, 2020 · 1 comment

Comments

@chenxinlong
Copy link

Hi, I'm so confused about the "Reference type" in Go. I've seen a lot of articles mentioned golang reference types naturally, but also there's a lot of articles hold the view of "Go has no reference type" such as :

  1. golang official commit message: golang/go@b34f055
  2. go101 : https://www.tapirgames.com/blog/golang-has-no-reference-values

I saw the Reference type on learn-go-with-test, so is that a mistake or Go indeed has reference type?

@quii quii closed this as completed in 182ffd6 Jun 18, 2020
@quii
Copy link
Owner

quii commented Jun 18, 2020

@chenxinlong This is a really good point, the content was indeed wrong. I've correct it, thanks for raising this - sorry it took so long to fix!

yuchen pushed a commit to go-proj/learn-go-with-tests that referenced this issue Mar 5, 2021
gypsydave5 pushed a commit to gypsydave5/learn-go-with-tests that referenced this issue Jun 11, 2021
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

2 participants