aboutsummaryrefslogtreecommitdiff
path: root/field_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'field_string.go')
-rw-r--r--field_string.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/field_string.go b/field_string.go
index f12d2d5..e0007e9 100644
--- a/field_string.go
+++ b/field_string.go
@@ -22,12 +22,12 @@ package schwift
//whose value is a string. It cannot be directly constructed, but methods on
//the Headers types return this type. For example:
//
-// hdr := make(AccountHeaders)
-// //the following two statements are equivalent:
-// hdr["X-Container-Read"] = ".r:*,.rlistings"
-// hdr.ReadACL().Set(".r:*,.rlistings")
+// hdr := NewAccountHeaders()
+// //the following two statements are equivalent:
+// hdr["X-Container-Read"] = ".r:*,.rlistings"
+// hdr.ReadACL().Set(".r:*,.rlistings")
type FieldString struct {
- h headerInterface
+ h Headers
k string
}