Roger
5 years ago
61 changed files with 351 additions and 329 deletions
-
11GNUmakefile
-
12examples/zinx_version_ex/ZinxV0.10Test/Client0.go
-
12examples/zinx_version_ex/ZinxV0.10Test/Client1.go
-
2examples/zinx_version_ex/ZinxV0.10Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.11Test/Client0.go
-
12examples/zinx_version_ex/ZinxV0.11Test/Client1.go
-
2examples/zinx_version_ex/ZinxV0.11Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.1Test/Client.go
-
3examples/zinx_version_ex/ZinxV0.1Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.2Test/Client.go
-
3examples/zinx_version_ex/ZinxV0.2Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.3Test/Client.go
-
9examples/zinx_version_ex/ZinxV0.3Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.4Test/Client.go
-
12examples/zinx_version_ex/ZinxV0.5Test/Client.go
-
8examples/zinx_version_ex/ZinxV0.5Test/Server.go
-
12examples/zinx_version_ex/ZinxV0.6Test-V0.7Test/Client0.go
-
12examples/zinx_version_ex/ZinxV0.6Test-V0.7Test/Client1.go
-
12examples/zinx_version_ex/ZinxV0.8Test/Client0.go
-
12examples/zinx_version_ex/ZinxV0.8Test/Client1.go
-
12examples/zinx_version_ex/ZinxV0.9Test/Client0.go
-
12examples/zinx_version_ex/ZinxV0.9Test/Client1.go
-
4examples/zinx_version_ex/datapackDemo/Client.go
-
2examples/zinx_version_ex/datapackDemo/Server.go
-
2examples/zinx_version_ex/protoDemo/main.go
-
4utils/globalobj.go
-
5ziface/iconnection.go
-
4ziface/iconnmanager.go
-
10ziface/idatapack.go
-
14ziface/imessage.go
-
10ziface/imsghandler.go
-
9ziface/irequest.go
-
4ziface/irouter.go
-
6ziface/iserver.go
-
2zinx_app_demo/mmo_game/api/move.go
-
2zinx_app_demo/mmo_game/api/world_chat.go
-
2zinx_app_demo/mmo_game/client_AI_robot.go
-
4zinx_app_demo/mmo_game/core/aoi.go
-
4zinx_app_demo/mmo_game/core/aoi_test.go
-
4zinx_app_demo/mmo_game/core/player.go
-
4zinx_app_demo/mmo_game/server.go
-
2zlog/stdzlog.go
-
27zlog/zlogger.go
-
6zlog/zlogger_test.go
-
8znet/connection.go
-
11znet/connmanager.go
-
10znet/datapack.go
-
4znet/message.go
-
25znet/msghandler.go
-
8znet/request.go
-
8znet/router.go
-
60znet/server.go
-
40znet/server_test.go
-
10ztimer/delayfunc.go
-
4ztimer/delayfunc_test.go
-
16ztimer/timer.go
-
9ztimer/timer_test.go
-
19ztimer/timerscheduler.go
-
24ztimer/timerscheduler_test.go
-
12ztimer/timewheel.go
-
17ztimer/timewheel_test.go
@ -0,0 +1,11 @@ |
|||
# gofmt格式化
|
|||
# run in terminal:
|
|||
# make fmt
|
|||
# win系统中,在git bash中如果出现make包没有找到
|
|||
# 管理员运行git bash,运行以下命令
|
|||
# choco install make
|
|||
|
|||
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor) |
|||
|
|||
fmt: |
|||
gofmt -w $(GOFMT_FILES) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue