cmd/viewer,all: consistently use "read-only" instead of "readonly"

Updates #cleanup

Change-Id: I8e4e3497d3d0ec5b16a73aedda500fe5cfa37a67
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-01-14 08:15:27 -08:00
committed by Brad Fitzpatrick
parent 414a01126a
commit cfda1ff709
14 changed files with 110 additions and 110 deletions

View File

@@ -17,7 +17,7 @@ import (
//go:generate go run tailscale.com/cmd/cloner -clonefunc=false -type=Persist
// View returns a readonly view of Persist.
// View returns a read-only view of Persist.
func (p *Persist) View() PersistView {
return PersistView{ж: p}
}
@@ -33,7 +33,7 @@ type PersistView struct {
ж *Persist
}
// Valid reports whether underlying value is non-nil.
// Valid reports whether v's underlying value is non-nil.
func (v PersistView) Valid() bool { return v.ж != nil }
// AsStruct returns a clone of the underlying value which aliases no memory with