【文件属性】:
文件名称:Go-Programming-Blueprints:Packt发布的Go编程蓝图的代码存储库
文件大小:4.44MB
文件格式:ZIP
更新时间:2021-05-28 12:05:25
go Go
Go编程蓝图-第二版
这是Packt发布的《 的代码库。 它包含从头到尾完成本书所必需的所有支持项目文件。
说明和导航
所有代码都组织在文件夹中。 每个文件夹均以数字开头,后跟应用程序名称。 例如,Chapter02。
您将看到类似于以下内容的代码:
import (
"github.com/gorilla/websocket"
)
// client represents a single chatting user.
type client struct {
// socket is the web socket for this client.
socket *websocket.Conn
// send is a channel on which messages are sent.
send chan []byte
// room is the room thi