Skip to content

Commit f7ff9bf

Browse files
committed
Fix a typo in documentation for SetLibrary
1 parent 4ec5f39 commit f7ff9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gotext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func GetLibrary() string {
158158
return lib
159159
}
160160

161-
// SetLibrary sets the root path for the loale directories and files to be used at package level.
161+
// SetLibrary sets the root path for the locale directories and files to be used at package level.
162162
// It reloads the corresponding Translation file.
163163
func SetLibrary(lib string) {
164164
globalConfig.Lock()

0 commit comments

Comments
 (0)