From 4d527161ac57dd5e9223056cb5501ceabdaf3efa Mon Sep 17 00:00:00 2001 From: Stijn Van Campenhout Date: Wed, 1 Jul 2020 14:12:40 +0200 Subject: [PATCH] Export Dict fiels --- aspell.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/aspell.go b/aspell.go index ffd4dd3..2efd297 100644 --- a/aspell.go +++ b/aspell.go @@ -171,11 +171,11 @@ func (s Speller) MainWordList() ([]string, error) { // Dict represents Aspell dictionary info. type Dict struct { - name string - code string - jargon string - size string - module string + Name string + Code string + Jargon string + Size string + Module string } // Dicts returns the list of available aspell dictionaries. @@ -192,11 +192,11 @@ func Dicts() []Dict { break } result = append(result, Dict{ - name: C.GoString(entry.name), - code: C.GoString(entry.code), - jargon: C.GoString(entry.jargon), - size: C.GoString(entry.size_str), - module: C.GoString(entry.module.name), + Name: C.GoString(entry.name), + Code: C.GoString(entry.code), + Jargon: C.GoString(entry.jargon), + Size: C.GoString(entry.size_str), + Module: C.GoString(entry.module.name), }) } C.delete_aspell_dict_info_enumeration(dels)