docs(blogo,metadata): TypedMetadata documentation
This commit is contained in:
@@ -15,8 +15,13 @@
|
|||||||
|
|
||||||
package metadata
|
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 {
|
type TypedMetadata interface {
|
||||||
Metadata
|
Metadata
|
||||||
|
|
||||||
GetBool(key string) (bool, error)
|
GetBool(key string) (bool, error)
|
||||||
|
|
||||||
GetString(key string) (string, error)
|
GetString(key string) (string, error)
|
||||||
|
|||||||
Reference in New Issue
Block a user