~chrisppy/go-barefeed

ref: 022d6ea6f0215c28fa4b4b69dd9d821c8766ded8 go-barefeed/link.go -rw-r--r-- 297 bytes
022d6ea6Chris Palmer updates from barefeed fixes 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
package barefeed

// Links is a slice of Link
type Links []Link

// Link contains info needed for any link
type Link struct {
	URL      string `bare:"url"`
	Type     string `bare:"type"`
	Rel      string `bare:"rel"`
	Length   int    `bare:"length"`
	Position *int   `bare:"position,omitempty"`
}