|
|
@@ -33,7 +33,7 @@ func handleErr(err *os.Error) {
|
|
|
|
|
|
// Objects implementing the goyaml.Setter interface will receive the YAML
|
|
|
// tag and value via the SetYAML method during unmarshaling, rather than
|
|
|
-// being implicitly assigned by the gobson machinery. If setting the value
|
|
|
+// being implicitly assigned by the goyaml machinery. If setting the value
|
|
|
// works, the method should return true. If it returns false, the given
|
|
|
// value will be omitted from maps and slices.
|
|
|
type Setter interface {
|
|
|
@@ -41,7 +41,7 @@ type Setter interface {
|
|
|
}
|
|
|
|
|
|
// Objects implementing the goyaml.Getter interface will get the GetYAML()
|
|
|
-// method called when gobson is requested to marshal the given value, and
|
|
|
+// method called when goyaml is requested to marshal the given value, and
|
|
|
// the result of this method will be marshaled in place of the actual object.
|
|
|
type Getter interface {
|
|
|
GetYAML() (tag string, value interface{})
|