Something went wrong. Try again.
🌱 A minimal programming language and compiler. git.urbach.dev/cli/q
Something went wrong. Try again.
12345678910111213141516171819202122232425262728package 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}
// SetTLS sets the thread-local data for the given label.func (data *Data) SetTLS(label string, bytes []byte) { if data.TLS == nil { data.TLS = map[string][]byte{} }
data.TLS[label] = bytes}