Parcourir la source

Merge branch 'v1' of github.com:go-yaml/yaml into v1

Gustavo Niemeyer il y a 12 ans
Parent
commit
b0c168ac0c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      yaml.go

+ 1 - 1
yaml.go

@@ -42,7 +42,7 @@ type Setter interface {
 	SetYAML(tag string, value interface{}) bool
 	SetYAML(tag string, value interface{}) bool
 }
 }
 
 
-// The Setter interface is implemented by types to do their own custom
+// The Getter interface is implemented by types to do their own custom
 // marshalling into a YAML tag and value.
 // marshalling into a YAML tag and value.
 type Getter interface {
 type Getter interface {
 	GetYAML() (tag string, value interface{})
 	GetYAML() (tag string, value interface{})