Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Badges file name Badges = "Badges.xml" // Comments file name Comments = "Comments.xml" // PostHistory file name PostHistory = "PostHistory.xml" // PostLinks file name PostLinks = "PostLinks.xml" // Posts file name Posts = "Posts.xml" // Tags file name Tags = "Tags.xml" // Users file name Users = "Users.xml" // Votes file name Votes = "Votes.xml" )
View Source
const WriteBufferSize = 8388608
WriteBufferSize bytes (8MB)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ResultFormat string SourcePath string StoreToDir string SkipHTMLDecoding bool }
Config Initial config handler
type XMLIterator ¶
type XMLIterator struct {
// contains filtered or unexported fields
}
XMLIterator struct
func NewIterator ¶
func NewIterator(file *os.File) (xi *XMLIterator)
NewIterator creates XML iterator
Click to show internal directories.
Click to hide internal directories.