From 0cdeb6c16b827b5c705cf9353e27ebbb51b9c7eb Mon Sep 17 00:00:00 2001 From: IMTTX <45666616+imttx@users.noreply.github.com> Date: Wed, 30 Jun 2021 11:55:01 +0800 Subject: [PATCH] fix typos (#1128) --- encoding/yaml/yaml.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding/yaml/yaml.go b/encoding/yaml/yaml.go index 8d8af3447..b2f885f0c 100644 --- a/encoding/yaml/yaml.go +++ b/encoding/yaml/yaml.go @@ -5,14 +5,14 @@ import ( "gopkg.in/yaml.v3" ) -// Name is the name registered for the json codec. +// Name is the name registered for the yaml codec. const Name = "yaml" func init() { encoding.RegisterCodec(codec{}) } -// codec is a Codec implementation with json. +// codec is a Codec implementation with yaml. type codec struct{} func (codec) Marshal(v interface{}) ([]byte, error) {