Skip to content

Commit b685045

Browse files
committed
Added stub for SMWTemplateCallFormatter
1 parent 284e402 commit b685045

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

main.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,26 @@ func (p *MWXMLCreator) Run() {
536536
p.OutLine <- "</mediawiki>"
537537
}
538538

539+
// --------------------------------------------------------------------------------
540+
// SMWTemplateCallFormatter
541+
// --------------------------------------------------------------------------------
542+
543+
type SMWTemplateCallFormatter struct {
544+
InWikiPage chan *WikiPage
545+
OutWikiPageXML chan string
546+
}
547+
548+
func NewSMWTemplateCallFormatter() *SMWTemplateCallFormatter {
549+
return &SMWTemplateCallFormatter{
550+
InWikiPage: make(chan *WikiPage, BUFSIZE),
551+
OutWikiPageXML: make(chan string, BUFSIZE),
552+
}
553+
}
554+
555+
func (p *SMWTemplateCallFormatter) Run() {
556+
fmt.Println("Running SMWTemplateCallFormatter ...")
557+
}
558+
539559
// --------------------------------------------------------------------------------
540560
// TriplePrinter
541561
// --------------------------------------------------------------------------------

0 commit comments

Comments
 (0)