1
0
mirror of https://github.com/golang/go synced 2024-11-21 13:44:45 -07:00

xml: Header: fix close tag and newline

R=rsc
CC=golang-dev
https://golang.org/cl/4830043
This commit is contained in:
Kyle Lemons 2011-07-29 14:09:07 -04:00 committed by Russ Cox
parent 2d7ddfa64d
commit 31442a6737

View File

@ -14,10 +14,10 @@ import (
)
const (
// A generic XML header suitable for use with the output of Marshal and MarshalIndent.
// This is not automatically added to any output of this package, it is provided as a
// convenience.
Header = `<?xml version="1.0" encoding="UTF-8">\n`
// A generic XML header suitable for use with the output of Marshal and
// MarshalIndent. This is not automatically added to any output of this
// package, it is provided as a convenience.
Header = `<?xml version="1.0" encoding="UTF-8"?>` + "\n"
)
// A Marshaler can produce well-formatted XML representing its internal state.