Main reverted G's half merge (#189, reverted by8afc3ebin #191) and then took the reader release's S1-S5, which copied G's code. G's form holds where they differ (process_bus.go, seats.go, state.go and their tests); the release's kept names stay so main's callers keep building: SeatViewPrefix beside SeatReadPrefix, and QueueInvoke's empty strings on not-ok (with its test TestQueueInvoke). The tree differs from G's headf30dee54only by those and the release's two tests (objects cap option, seat states and stream kinds). Builds: design 47 G (the milestone's sdk part, as atf30dee54) Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
12 lines
493 B
Go
12 lines
493 B
Go
package views
|
|
|
|
// PutViewFinding and DropViewFinding write and clear one of a views reader's findings through w, laid out as mesh-sdk lays
|
|
// the reader's own (design 47 G §687), for the tests of package views_test.
|
|
func PutViewFinding(w WireWriter, kind, id, summary, headline string) error {
|
|
return viewFinding{kind: kind, id: id, summary: summary, headline: headline}.put(w)
|
|
}
|
|
|
|
func DropViewFinding(w WireWriter, kind, id string) error {
|
|
return viewFinding{kind: kind, id: id}.drop(w)
|
|
}
|