Skip to content

koomox/go-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-example

go example

GOPROXY

# Linux
export GO111MODULE=on
export GOPROXY=https://goproxy.io

# Windows
SET GO111MODULE=on
SET GOPROXY=https://goproxy.io

Static File

source

wget -O static.go https://raw.githubusercontent.com/koomox/go-example/master/source/static.go
go mod init .
go build -o static static.go

Crypto File

source

wget -O cryptofile.go https://raw.githubusercontent.com/koomox/go-example/master/source/cryptofile.go
go mod init .
go build -o cryptofile cryptofile.go
wget https://raw.githubusercontent.com/koomox/go-example/master/storage/cryptofile.tar.gz
tar -zxf cryptofile.tar.gz -C /usr/bin
chmod +x /usr/bin/cryptofile

Proxy pool

source

wget -O proxypool.go https://raw.githubusercontent.com/koomox/go-example/master/source/proxypool.go
go mod init .
go build -o proxypool proxypool.go

Releases

No releases published

Packages

No packages published