terraform/vendor/github.com/masterzen/simplexml/dom/namespace.go

11 lines
154 B
Go

package dom
type Namespace struct {
Prefix string
Uri string
}
func (ns *Namespace) SetTo(node *Element) {
node.SetNamespace(ns.Prefix, ns.Uri)
}