Correction Method.go

current doc incorrectly states that methods can only be defined on struct types
This commit is contained in:
Houtarou 2021-05-26 21:22:09 +05:30 committed by GitHub
parent 58e66a8103
commit 4a45693f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
// Go supports _methods_ defined on struct types. // Go supports _methods_ defined on any coustom defined types.
package main package main