()
| 335 | } |
| 336 | |
| 337 | func DetermineLocale() string { |
| 338 | truncated := strings.Split(DetermineLang(), ".")[0] |
| 339 | if truncated == "" { |
| 340 | return "C" |
| 341 | } |
| 342 | return strings.Replace(truncated, "_", "-", -1) |
| 343 | } |
| 344 | |
| 345 | func ClientArch() string { |
| 346 | return fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH) |
nothing calls this directly
no test coverage detected