Documentation ¶
Index ¶
- type Store
- func (s *Store) Close() error
- func (s *Store) CountUnicodeData() int
- func (s *Store) CreateLastUpdate(filename string, t time.Time) error
- func (s *Store) DeleteUnicodeData() error
- func (s *Store) GetLastUpdate(filename string) (time.Time, error)
- func (s *Store) LoadFromRecords(records [][]string) error
- func (s *Store) Open(database string) error
- func (s *Store) SearchUnicode(name string) (records []UnicodeData, err error)
- func (s *Store) UpdateLastUpdate(filename string, t time.Time) error
- type UnicodeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CountUnicodeData ¶
Count total rows inside unicode data table.
func (*Store) CreateLastUpdate ¶
Create latest update entry for given file.
func (*Store) DeleteUnicodeData ¶
DeleteUnicodeData removes all data from unicode_data table.
func (*Store) GetLastUpdate ¶
Get latest update for given file.
func (*Store) LoadFromRecords ¶
Load multiple records into piken database.
func (*Store) SearchUnicode ¶
func (s *Store) SearchUnicode(name string) (records []UnicodeData, err error)
Search unicode data using name.
type UnicodeData ¶
type UnicodeData struct { CodePoint string Name string Category string CanonicalClass string BidiClass string DecompositionType string NumericType string NumericDigit string NumericValue string BidiMirrored string Unicode1Name string ISOComment string SimpleUppercaseMapping string SimpleLowercaseMapping string SimpleTitlecaseMapping string }
Click to show internal directories.
Click to hide internal directories.