You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
305 B
Go
16 lines
305 B
Go
6 years ago
|
package export
|
||
|
|
||
|
import (
|
||
|
"git.sp4ke.com/sp4ke/hugobot/v3/feeds"
|
||
|
"git.sp4ke.com/sp4ke/hugobot/v3/posts"
|
||
|
)
|
||
|
|
||
|
// TODO: This happend in the main export file
|
||
|
func RFCExport(exp Map, feed feeds.Feed, post posts.Post) error {
|
||
|
if feed.Section == "bulletin/rfc" {
|
||
|
exp["data"] = post.JsonData
|
||
|
|
||
|
}
|
||
|
return nil
|
||
|
}
|