Versions in this module Expand all Collapse all v0 v0.3.0 Dec 14, 2017 v0.2.0 Dec 13, 2017 v0.1.0 Sep 14, 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