docs(blogo,metadata): Immutable func documentation

This commit is contained in:
Guz
2025-01-24 16:41:39 -03:00
parent 7cd7db539b
commit 5145f17fd7

View File

@@ -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}
}