/
feed.go
31 lines (28 loc) · 1.3 KB
/
feed.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2018, Shulhan <ms@kilabit.info>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package google
//
// Feed define content of Google contacts feed metadata.
//
// Some of the fields are disabled for speed.
//
type Feed struct {
//XMLNS string `json:"xmlns,omitempty"`
//XMLNSOpenSearch string `json:"xmlns$openSearch,omitempty"`
//XMLNSGContact string `json:"xmlns$gContact,omitempty"`
//XMLNSBatch string `json:"xmlns$batch,omitempty"`
//XMLNSGD string `json:"xmlns$gd,omitempty"`
//GDEtag string `json:"gd$etag,omitempty"`
//Id GD `json:"id,omitempty"`
//Updated GD `json:"updated,omitempty"`
//Categories []Category `json:"category,omitempty"`
//Title GD `json:"title,omitempty"`
//Links []Link `json:"link,omitempty"`
//Authors []Author `json:"author,omitempty"`
//Generator Generator `json:"generator,omitempty"`
//StartIndex GD `json:"openSearch$startIndex,omitempty"`
//ItemsPerPage GD `json:"openSearch$itemsPerPage,omitempty"`
TotalResult GD `json:"openSearch$totalResults,omitempty"`
Contacts []Contact `json:"entry,omitempty"`
}