Skip to content

cqu20141693/go-tutorials

Repository files navigation

go

环境安装

打包部署

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o auth_server authenticate_server.go 
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o libmqtt github.com/goiiot/libmqtt/cmd/libmqtt

go build

启动服务

nohup $COMMAND >nohup.out 2>&1 &

关键字

package import 
var constant int/uint bool string true false
struct func return struct type interface defer
switch case fallthrough default if else
for continue break
[] map chan make new 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages