dev
This commit is contained in:
parent
dab45deac9
commit
d675782d29
@ -16,6 +16,11 @@ go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost
|
|||||||
export GOARCH=386
|
export GOARCH=386
|
||||||
go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost_x86
|
go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost_x86
|
||||||
|
|
||||||
|
echo MacOS
|
||||||
|
export GOOS=darwin
|
||||||
|
export GOARCH=amd64
|
||||||
|
go build -buildvcs=false -ldflags "-w -s" -trimpath -a -o gost_osx
|
||||||
|
|
||||||
echo Android
|
echo Android
|
||||||
export ANDROID_NDK_ROOT=$PWD/../../../android-ndk-r23b
|
export ANDROID_NDK_ROOT=$PWD/../../../android-ndk-r23b
|
||||||
export GOOS=android
|
export GOOS=android
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"gopkg.in/yaml.v2"
|
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
|
"gopkg.in/yaml.v3"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
Loading…
Reference in New Issue
Block a user