carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package moves
2
3// Check is the shared result of a yes/no precondition with a reason. The
4// zero value is NOT ok: a check that was never run, or that returned
5// without deciding, fails closed. It is serialised into reports, so the
6// wire names are fixed here.
7type Check struct {
8 OK bool `json:"ok"`
9 Reason string `json:"reason"`
10}
11