mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
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 <austin@google.com> Reviewed-by: David du Colombier <0intro@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Richard Miller <millerresearch@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
committed by
Cherry Mui
parent
4f23f804ed
commit
48062e9b9a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user