Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
high-performance programming-language compiler
Something went wrong. Try again.
12345678910111213141516171819package data
// SetImmutable sets the readonly data for the given label.func (data *Data) SetImmutable(label string, bytes []byte) { if data.Immutable == nil { data.Immutable = map[string][]byte{} }
data.Immutable[label] = bytes}
// SetMutable sets the writable data for the given label.func (data *Data) SetMutable(label string, bytes []byte) { if data.Mutable == nil { data.Mutable = map[string][]byte{} }
data.Mutable[label] = bytes}