MCPcopy Create free account
hub / github.com/chrislusf/glow / SourcePost

Struct SourcePost

examples/stack_analysis/stack_analysis.go:39–43  ·  view source on GitHub ↗

* - **posts**.xml - Id - PostTypeId - 1: Question - 2: Answer - ParentID (only present if PostTypeId is 2) - AcceptedAnswerId (only present if PostTypeId is 1) - CreationDate - Score - ViewCount - Body - OwnerUserI

Source from the content-addressed store, hash-verified

37 - FavoriteCount
38*/
39type SourcePost struct {
40 PostTypeId int `xml:"PostTypeId,attr"`
41 CreationDate string `xml:"CreationDate,attr"` // "2008-07-31T21:42:52.667"
42 Tags string `xml:"Tags,attr"`
43}
44
45type Post struct {
46 PostTypeId int

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected