Commits

Miki Tebeka  committed 803978e

fix doc

  • Participants
  • Parent commits 0d914eb
  • Tags 0.2.0

Comments (0)

Files changed (1)

 	return string(buf)
 }
 
+// LangList returns the list of languages supported by snowball
+func LangList() []string {
+	return langList
+}
+
 var langList []string
 
-// List returns the list of languages supported by snowball
 func init() {
 	// We don't need to free since sb_stemmer_list return pointer to static variable
 	cp := uintptr(unsafe.Pointer(C.sb_stemmer_list()))
 	}
 }
 
-func LangList() []string {
-	return langList
-}