Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
go-programming
Explore topics
#go-programming
Global
Trending
Hot
New
Payout
Muted
Promoted
#go-programming
New
#go-programming
Follow to get notified about new posts with this tag
Get #go-programming by email
Follow
ingee
golang
8y
GO 언어의 type method 작성법 (instance receiver와 pointer receiver의 차이)
GO 언어의 type method 작성법 (instance receiver와 pointer receiver의 차이) 개요 다음 내용이 궁금했다. 인스턴스 리시버와 포인터 리시버 모두 '.'(도트)로 접근 가능한가? C++에서는 인스턴스의 메소드는 '.' (도트)로 포인터의 메소드는 '->' (화살표)로 접근한다. GO 언어에서도 이런 차이가 있는지 궁금했다.
$ 0.000
1
Discover communities
Explore communities
Create your community