mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-05 08:37:31 -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.
|
// A Note is a string describing a process note.
|
||||||
// It implements the os.Signal interface.
|
// It implements the os.Signal interface.
|
||||||
type Note string
|
type Note = syscall.Note
|
||||||
|
|
||||||
func (n Note) Signal() {}
|
|
||||||
|
|
||||||
func (n Note) String() string {
|
|
||||||
return string(n)
|
|
||||||
}
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Stdin = 0
|
Stdin = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user