IsLinux returns true if running on Linux or inside WSL2
()
| 83 | |
| 84 | // IsLinux returns true if running on Linux or inside WSL2 |
| 85 | func IsLinux() bool { |
| 86 | return runtime.GOOS == "linux" |
| 87 | } |
| 88 | |
| 89 | // IsCodespaces returns true if running on GitHub Codespaces |
| 90 | func IsCodespaces() bool { |
no outgoing calls