Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BLOG_POSTS_FILTERS = map[int64]BlogPostFilter{ 1: &LaitmanRuFilter{}, }
View Source
var CLIP_RE = regexp.MustCompile("клип")
View Source
var DECLAMATION_RE = regexp.MustCompile("Радио-версия")
View Source
var LESSON_RE = regexp.MustCompile("(Уроки и лекции|Утренний урок|Вечерний урок|Урок по Книге Зоар)")
View Source
var TWITTER_RE = regexp.MustCompile("Мои мысли в Twitter")
Functions ¶
func ImportLatest ¶
func ImportLatest()
func NewWordpressClient ¶
Types ¶
type BlogPostFilter ¶
type BlogPostFilter interface {
IsPass(*wordpress.Post) bool
}
type BucketHistorgram ¶
type BucketHistorgram struct {
// contains filtered or unexported fields
}
func NewBucketHistorgram ¶
func NewBucketHistorgram(bucketSize int) *BucketHistorgram
func (*BucketHistorgram) Add ¶
func (h *BucketHistorgram) Add(val int)
func (*BucketHistorgram) Dump ¶
func (h *BucketHistorgram) Dump()
type LaitmanRuFilter ¶
type LaitmanRuFilter struct{}
func (*LaitmanRuFilter) IsPass ¶
func (f *LaitmanRuFilter) IsPass(post *wordpress.Post) bool
type PassFilter ¶
type PassFilter struct{}
func (*PassFilter) IsPass ¶
func (f *PassFilter) IsPass(*wordpress.Post) bool
Click to show internal directories.
Click to hide internal directories.