Explorar el Código

Update README.MD

MoeClub hace 3 años
padre
commit
1c171c364c
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      SpeedTest/README.MD

+ 5 - 2
SpeedTest/README.MD

@@ -1,5 +1,8 @@
-# build
+# Build
 ```
 ```
-go build -ldflags "-w -s" -trimpath -o speedtest main.go
+# go build -ldflags "-w -s" -trimpath -o speedtest main.go
+
+CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-w -s' -trimpath -o ./build/linux_amd64/speedtest main.go
+CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags '-w -s' -trimpath -o ./build/linux_arm64/speedtest main.go
 
 
 ```
 ```