aboutsummaryrefslogtreecommitdiff
path: root/field_metadata.go
diff options
context:
space:
mode:
Diffstat (limited to 'field_metadata.go')
-rw-r--r--field_metadata.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/field_metadata.go b/field_metadata.go
index 05dee32..90993d4 100644
--- a/field_metadata.go
+++ b/field_metadata.go
@@ -22,12 +22,12 @@ package schwift
//in a headers instance. It cannot be directly constructed, but each headers
//type has a method "Metadata" returning this type. For example:
//
-// hdr := make(ObjectHeaders)
-// //the following two statements are equivalent
-// hdr["X-Object-Meta-Access"] = "strictly confidential"
-// hdr.Metadata().Set("Access", "strictly confidential")
+// hdr := NewObjectHeaders()
+// //the following two statements are equivalent
+// hdr["X-Object-Meta-Access"] = "strictly confidential"
+// hdr.Metadata().Set("Access", "strictly confidential")
type FieldMetadata struct {
- h headerInterface
+ h Headers
k string
}