Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OpAppend ... OpAppend = "append" // OpAssign ... OpAssign = "assign" // OpDelete ... OpDelete = "delete" )
View Source
const (
MutationType = "/object.mutation"
)
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Mutation ¶
type Mutation struct { Operations []*Operation `json:"ops:a<o>"` Parents []string `json:"@parents:a<s>"` }
Mutation provides operations to be applied given that the parent mutations have already been applied
func (*Mutation) FromObject ¶
FromObject populates the struct from a f12n object
Click to show internal directories.
Click to hide internal directories.