docs(blogo,metadata): Immutable func documentation
This commit is contained in:
@@ -305,6 +305,8 @@ func (m joined) Delete(key string) error {
|
||||
|
||||
type immutable struct{ Metadata }
|
||||
|
||||
// Converts all keys from m to immutable. All calls to Set and Delete
|
||||
// are responded with [ErrImmutable].
|
||||
func Immutable(m Metadata) Metadata {
|
||||
return &immutable{m}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user