Skip to content

Commit

Permalink
Add FreeBSD/OpenBSD support. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewis Cook authored May 17, 2020
1 parent 2bb2ed4 commit 786e297
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions locale_freebsd.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// +build !unit_test

package locale

var detectors = []detector{
detectViaEnvLanguage,
detectViaEnvLc,
detectViaLocale,
}
9 changes: 9 additions & 0 deletions locale_openbsd.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// +build !unit_test

package locale

var detectors = []detector{
detectViaEnvLanguage,
detectViaEnvLc,
detectViaLocale,
}

0 comments on commit 786e297

Please sign in to comment.