docs(blogo,metadata): TypedMetadata documentation

This commit is contained in:
Guz
2025-01-24 16:41:53 -03:00
parent 5145f17fd7
commit c91df6d759

View File

@@ -15,8 +15,13 @@
package metadata
// TypedMetadata expands the [Metadata] interface to add helper methods for
// Go's primitive types.
//
// [GetTyped] uses this interface for optimization.
type TypedMetadata interface {
Metadata
GetBool(key string) (bool, error)
GetString(key string) (string, error)