Added and corrected comments
This commit is contained in:
@@ -8,6 +8,8 @@ type CommonAttributes struct {
|
||||
UndefinedAttributes []*ExtensionAttribute `xml:",any"`
|
||||
}
|
||||
|
||||
// Check checks the CommonAttributes for incompatibilities with RFC4287. It
|
||||
// returns an error.
|
||||
func (c *CommonAttributes) Check() error {
|
||||
for i, e := range c.UndefinedAttributes {
|
||||
if err := e.Check(); err != nil {
|
||||
|
Reference in New Issue
Block a user