Use whatsapp forks (#750)

This commit is contained in:
Wim
2019-03-02 13:04:28 +01:00
committed by GitHub
parent af00c34aac
commit df3fdc26a0
96 changed files with 1860 additions and 799 deletions

View File

@@ -88,6 +88,10 @@ func parseParam(p string) Param {
func main() {
// Get the OS and architecture (using GOARCH_TARGET if it exists)
goos := os.Getenv("GOOS")
if goos == "" {
fmt.Fprintln(os.Stderr, "GOOS not defined in environment")
os.Exit(1)
}
goarch := os.Getenv("GOARCH_TARGET")
if goarch == "" {
goarch = os.Getenv("GOARCH")