File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ type XMLFile struct {
1414 stringPool * ResStringPool
1515 resourceMap []uint32
1616 notPrecessedNS map [ResStringPoolRef ]ResStringPoolRef
17- namespaces XmlNamespaces
17+ namespaces xmlNamespaces
1818 xmlBuffer bytes.Buffer
1919}
2020
2121type (
22- XmlNamespaces struct {
22+ xmlNamespaces struct {
2323 l []namespaceVal
2424 }
2525 namespaceVal struct {
@@ -28,12 +28,12 @@ type (
2828 }
2929)
3030
31- func (x * XmlNamespaces ) add (key ResStringPoolRef , value ResStringPoolRef ) {
31+ func (x * xmlNamespaces ) add (key ResStringPoolRef , value ResStringPoolRef ) {
3232 x .l = append (x .l , namespaceVal {key : key , value : value })
3333 return
3434}
3535
36- func (x * XmlNamespaces ) remove (key ResStringPoolRef ) {
36+ func (x * xmlNamespaces ) remove (key ResStringPoolRef ) {
3737 for i := len (x .l ) - 1 ; i >= 0 ; i -- {
3838 if x .l [i ].key == key {
3939 var newList = append (x .l [:i ], x .l [i + 1 :]... )
@@ -44,7 +44,7 @@ func (x *XmlNamespaces) remove(key ResStringPoolRef) {
4444 return
4545}
4646
47- func (x * XmlNamespaces ) get (key ResStringPoolRef ) ResStringPoolRef {
47+ func (x * xmlNamespaces ) get (key ResStringPoolRef ) ResStringPoolRef {
4848 for i := len (x .l ) - 1 ; i >= 0 ; i -- {
4949 if x .l [i ].key == key {
5050 return x .l [i ].value
You can’t perform that action at this time.
0 commit comments