Versions in this module Expand all Collapse all v0 v0.3.0 Jan 7, 2022 Changes in this version + var NotDetectedError = errors.New("Charset not detected.") + type Detector struct + func NewHtmlDetector() *Detector + func NewTextDetector() *Detector + func (d *Detector) DetectAll(b []byte) ([]Result, error) + func (d *Detector) DetectBest(b []byte) (r *Result, err error) + type Result struct + Charset string + Confidence int + Language string