Remove PrintLn

This commit is contained in:
Nico0302 2022-06-05 19:01:01 +02:00
parent a1178b9e0c
commit b597423abb
1 changed files with 0 additions and 6 deletions

View File

@ -320,27 +320,21 @@ func (e *AttributeEncoder) Encode(attribute string, value interface{}) error {
} }
for member, value := range value.(map[string]interface{}) { for member, value := range value.(map[string]interface{}) {
fmt.Println(member, value)
if err := e.encodeTag(TagMemberName); err != nil { if err := e.encodeTag(TagMemberName); err != nil {
return err return err
} }
if err := e.writeNullByte(); err != nil { if err := e.writeNullByte(); err != nil {
return err return err
} }
if err := e.encodeString(member); err != nil { if err := e.encodeString(member); err != nil {
return err return err
} }
if err := e.encodeTag(TagKeyword); err != nil { if err := e.encodeTag(TagKeyword); err != nil {
return err return err
} }
if err := e.writeNullByte(); err != nil { if err := e.writeNullByte(); err != nil {
return err return err
} }
if err := e.encodeString(value.(string)); err != nil { if err := e.encodeString(value.(string)); err != nil {
return err return err
} }