From 4a45693f29cb5589c4b02ad0273d30b23a12a353 Mon Sep 17 00:00:00 2001 From: Houtarou <41235037+nishadhsingh@users.noreply.github.com> Date: Wed, 26 May 2021 21:22:09 +0530 Subject: [PATCH] Correction Method.go current doc incorrectly states that methods can only be defined on struct types --- examples/methods/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/methods/methods.go b/examples/methods/methods.go index e56cb6f..023ef08 100644 --- a/examples/methods/methods.go +++ b/examples/methods/methods.go @@ -1,4 +1,4 @@ -// Go supports _methods_ defined on struct types. +// Go supports _methods_ defined on any coustom defined types. package main