Documentation ¶
Index ¶
Constants ¶
View Source
const ( STATEMENT_WORD_LIMIT int = 50 TP_C1 int = 40 TP_C2 int = 20 TP_C3 int = 10 )
View Source
const (
MAX_WORDS int = 5
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Tags []string `json:"tags"` Sign int `json:"sign"` Slang bool `json:"slang"` Feedback bool `json:"feedback"` Personal bool `json:"personal"` Words struct { Total int64 `json:"total"` Skip int64 `json:"skip"` } `json:"words"` Records [][]interface{} `json:"records"` Many bool `json:"many"` Adult bool `json:"adult"` Periods []string `json:"preriods"` }
type Statement ¶
type Statement struct {
// contains filtered or unexported fields
}
Statement agg data structure
func NewStatement ¶
func NewStatement() *Statement
func (*Statement) IsFeedback ¶
func (*Statement) IsPersonal ¶
Click to show internal directories.
Click to hide internal directories.