Documentation ¶
Index ¶
- Constants
- func DocId(item pkg.Item) string
- func Get(item pkg.Item, key string) (val interface{}, err error)
- func HasVideo(item pkg.Item) bool
- func IsOriginal(item pkg.Item, uid string) bool
- func Logger() *logger
- func NewLogger(lv LogLevel) *logger
- func OriginTweet(item pkg.Item) pkg.Item
- func SelfDir() (string, error)
- func TextRaw(item pkg.Item) string
- type LogLevel
Constants ¶
View Source
const ( LevelDebug = zapcore.DebugLevel LevelInfo = zapcore.InfoLevel LevelWarn = zapcore.WarnLevel LevelError = zapcore.ErrorLevel LevelFatal = zapcore.FatalLevel )
View Source
const (
PicInfoKey = "pic_infos"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.