From f7ff9bf78770f6e61fd51f5c413df0ca388815c8 Mon Sep 17 00:00:00 2001 From: Matyas Horky Date: Mon, 15 May 2023 11:56:44 +0200 Subject: [PATCH] Fix a typo in documentation for SetLibrary --- gotext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotext.go b/gotext.go index a273dae..9ddb0f8 100644 --- a/gotext.go +++ b/gotext.go @@ -158,7 +158,7 @@ func GetLibrary() string { return lib } -// SetLibrary sets the root path for the loale directories and files to be used at package level. +// SetLibrary sets the root path for the locale directories and files to be used at package level. // It reloads the corresponding Translation file. func SetLibrary(lib string) { globalConfig.Lock()