Versions in this module Expand all Collapse all v1 v1.1.0-alpha Oct 31, 2017 v1.0.8 Feb 11, 2018 v1.0.7 Jan 19, 2018 v1.0.6 Jan 8, 2018 v1.0.5 Dec 26, 2017 v1.0.4 Dec 11, 2017 v1.0.3 Nov 25, 2017 v1.0.2 Nov 13, 2017 v1.0.1 Oct 31, 2017 v1.0.0 Oct 16, 2017 Changes in this version + const UnicodeVersion + func AppendReverse(out, in []byte) []byte + func ReverseString(s string) string + type Class uint + const AL + const AN + const B + const BN + const CS + const Control + const EN + const ES + const ET + const FSI + const L + const LRE + const LRI + const LRO + const NSM + const ON + const PDF + const PDI + const R + const RLE + const RLI + const RLO + const S + const WS + type Direction int + const LeftToRight + const Mixed + const Neutral + const RightToLeft + type Option func(*options) + func DefaultDirection(d Direction) Option + type Ordering struct + func (o *Ordering) Direction() Direction + func (o *Ordering) NumRuns() int + func (o *Ordering) Run(i int) Run + type Paragraph struct + func (p *Paragraph) Direction() Direction + func (p *Paragraph) IsLeftToRight() bool + func (p *Paragraph) Line(start, end int) (Ordering, error) + func (p *Paragraph) Order() (Ordering, error) + func (p *Paragraph) RunAt(pos int) Run + func (p *Paragraph) SetBytes(b []byte, opts ...Option) (n int, err error) + func (p *Paragraph) SetString(s string, opts ...Option) (n int, err error) + type Properties struct + func Lookup(s []byte) (p Properties, sz int) + func LookupRune(r rune) (p Properties, size int) + func LookupString(s string) (p Properties, sz int) + func (p Properties) Class() Class + func (p Properties) IsBracket() bool + func (p Properties) IsOpeningBracket() bool + type Run struct + func (r *Run) Bytes() []byte + func (r *Run) Direction() Direction + func (r *Run) Pos() (start, end int) + func (r *Run) String() string