Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
go [2019/08/24 12:52] – [Methods] rpjdaygo [2019/08/25 09:38] (current) – [Articles on Go] rpjday
Line 43: Line 43:
   * [[https://blog.learngoprogramming.com/about-go-language-an-overview-f0bee143597c|About Go Language -- An Overview]] (Sep, 2017)   * [[https://blog.learngoprogramming.com/about-go-language-an-overview-f0bee143597c|About Go Language -- An Overview]] (Sep, 2017)
   * [[https://medium.com/golangspec/import-declarations-in-go-8de0fd3ae8ff|Import declarations in Go]]   * [[https://medium.com/golangspec/import-declarations-in-go-8de0fd3ae8ff|Import declarations in Go]]
 +  * [[https://www.alexedwards.net/blog/an-overview-of-go-tooling|An overview of Go's tooling]]
  
 ==== Technical papers on Go ==== ==== Technical papers on Go ====
Line 62: Line 63:
  
   * Go does not have classes; a method is a function with a special receiver argument (such as "Vertex").   * Go does not have classes; a method is a function with a special receiver argument (such as "Vertex").
 +  * Value receiver versus pointer receiver (one or the other, not both)
 +  * Functions with a pointer argument must take a pointer, while methods with pointer receivers take either a value or a pointer as the receiver when they are called.
 +  * Methods with value receivers take either a value or a pointer as the receiver when they are called.
  
  • go.1566651158.txt.gz
  • Last modified: 2019/08/24 12:52
  • by rpjday