Make comments more useful
This commit is contained in:
2
icon.go
2
icon.go
@@ -12,7 +12,7 @@ type Icon struct {
|
||||
URI string `xml:",chardata"` // IRI
|
||||
}
|
||||
|
||||
// NewIcon creates a new Icon. It returns a *Icon.
|
||||
// NewIcon creates a new Icon. It takes in a string uri and returns a *Icon.
|
||||
func NewIcon(uri string) *Icon {
|
||||
return &Icon{
|
||||
CommonAttributes: NewCommonAttributes(),
|
||||
|
Reference in New Issue
Block a user