(start xml.StartElement, anim *Animation)
| 178 | } |
| 179 | |
| 180 | func (d *Decoder) decChannel(start xml.StartElement, anim *Animation) error { |
| 181 | |
| 182 | ch := new(Channel) |
| 183 | ch.Source = findAttrib(start, "source").Value |
| 184 | ch.Target = findAttrib(start, "target").Value |
| 185 | anim.Channel = append(anim.Channel, ch) |
| 186 | return nil |
| 187 | } |
no test coverage detected