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