From 48062e9b9abf3dc7106bd8e3990ba8f47862022a Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 15 Jan 2026 12:20:08 +1100 Subject: [PATCH] plan9: change Note to alias syscall.Note This CL changes Note type from string to alias syscall.Note to make Note useful. For golang/go#77076. Change-Id: Ifb0292a6867ced95bb7e6c20877564cd527c1183 Reviewed-on: https://go-review.googlesource.com/c/sys/+/736480 Reviewed-by: Austin Clements Reviewed-by: David du Colombier <0intro@gmail.com> Reviewed-by: Michael Knyszek Reviewed-by: Richard Miller LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui --- plan9/syscall_plan9.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/plan9/syscall_plan9.go b/plan9/syscall_plan9.go index d079d811..76191223 100644 --- a/plan9/syscall_plan9.go +++ b/plan9/syscall_plan9.go @@ -19,13 +19,7 @@ import ( // A Note is a string describing a process note. // It implements the os.Signal interface. -type Note string - -func (n Note) Signal() {} - -func (n Note) String() string { - return string(n) -} +type Note = syscall.Note var ( Stdin = 0