export DEBIAN_FRONTEND=noninteractive
apt install -y golang-go git wget
# 如果访问 GitHub.com 需要代理在此设置
# export http_proxy=http://192.168.1.109:3128/
# export https_proxy=http://192.168.1.109:3128/
if [ ! -d ~/Winter-gin]; then
cd ~/ ;
git clone https://github.com/AndyInAi/Winter-gin.git
fi
cd ~/Winter-gin
go mod init Winter-gin
go get github.com/gin-gonic/gin
go build .
./Winter-gin
# starting HTTP server at http://localhost:8080
-
Notifications
You must be signed in to change notification settings - Fork 0
AndyInAi/Winter-gin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Winter gin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published