diff --git a/configuration/README.md b/configuration/README.md
index 33e053d..d3c23cc 100644
--- a/configuration/README.md
+++ b/configuration/README.md
@@ -1,6 +1,6 @@
# Configuration
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/configuration)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

configuration 基于配置导表功能实现的配置加载及刷新功能
diff --git a/examples/internal/deadlock-detect-server/README.md b/examples/internal/deadlock-detect-server/README.md
index 530acf4..a526d73 100644
--- a/examples/internal/deadlock-detect-server/README.md
+++ b/examples/internal/deadlock-detect-server/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/examples/internal/room-shunt-server/README.md b/examples/internal/room-shunt-server/README.md
index 530acf4..a526d73 100644
--- a/examples/internal/room-shunt-server/README.md
+++ b/examples/internal/room-shunt-server/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/examples/internal/simple-echo-websocket-server/README.md b/examples/internal/simple-echo-websocket-server/README.md
index 530acf4..a526d73 100644
--- a/examples/internal/simple-echo-websocket-server/README.md
+++ b/examples/internal/simple-echo-websocket-server/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/examples/internal/ticker-server/README.md b/examples/internal/ticker-server/README.md
index 530acf4..a526d73 100644
--- a/examples/internal/ticker-server/README.md
+++ b/examples/internal/ticker-server/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/examples/internal/ticker/README.md b/examples/internal/ticker/README.md
index 530acf4..a526d73 100644
--- a/examples/internal/ticker/README.md
+++ b/examples/internal/ticker/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/game/README.md b/game/README.md
index d944d3c..d3a935d 100644
--- a/game/README.md
+++ b/game/README.md
@@ -1,6 +1,6 @@
# Game
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/game)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

game 目录下包含了各类通用的游戏玩法性内容,其中该目录主要为基础性内容,具体目录将对应不同的游戏功能性内容。
diff --git a/game/activity/README.md b/game/activity/README.md
index ba61965..ec9848b 100644
--- a/game/activity/README.md
+++ b/game/activity/README.md
@@ -1,6 +1,6 @@
# Activity
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/activity)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

activity 活动状态管理
diff --git a/game/activity/internal/example/README.md b/game/activity/internal/example/README.md
index 530acf4..a526d73 100644
--- a/game/activity/internal/example/README.md
+++ b/game/activity/internal/example/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/game/activity/internal/example/activities/README.md b/game/activity/internal/example/activities/README.md
index 4ea85a5..8dc4c29 100644
--- a/game/activity/internal/example/activities/README.md
+++ b/game/activity/internal/example/activities/README.md
@@ -1,22 +1,12 @@
# Activities
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/activities)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/game/activity/internal/example/activities/demoactivity/README.md b/game/activity/internal/example/activities/demoactivity/README.md
index dfacb92..c6acce4 100644
--- a/game/activity/internal/example/activities/demoactivity/README.md
+++ b/game/activity/internal/example/activities/demoactivity/README.md
@@ -1,22 +1,12 @@
# Demoactivity
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/demoactivity)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/game/activity/internal/example/types/README.md b/game/activity/internal/example/types/README.md
index 2f2c1a0..a7d0d51 100644
--- a/game/activity/internal/example/types/README.md
+++ b/game/activity/internal/example/types/README.md
@@ -1,9 +1,9 @@
# Types
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/types)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/game/fight/README.md b/game/fight/README.md
index a82ccf6..2b977fc 100644
--- a/game/fight/README.md
+++ b/game/fight/README.md
@@ -1,9 +1,9 @@
# Fight
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/fight)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/game/space/README.md b/game/space/README.md
index b9c3455..58e3d32 100644
--- a/game/space/README.md
+++ b/game/space/README.md
@@ -1,6 +1,6 @@
# Space
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/space)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

space 游戏中常见的空间设计,例如房间、地图等
diff --git a/game/task/README.md b/game/task/README.md
index 55425db..3d5d02f 100644
--- a/game/task/README.md
+++ b/game/task/README.md
@@ -1,9 +1,9 @@
# Task
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/task)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/notify/README.md b/notify/README.md
index ae24472..284040b 100644
--- a/notify/README.md
+++ b/notify/README.md
@@ -1,6 +1,6 @@
# Notify
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/notify)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

notify 包含了对外部第三方通知的实现,如机器人消息等
diff --git a/notify/notifies/README.md b/notify/notifies/README.md
index 91b7bc3..7b99d6e 100644
--- a/notify/notifies/README.md
+++ b/notify/notifies/README.md
@@ -1,6 +1,6 @@
# Notifies
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/notifies)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

notifies 包含了内置通知内容的实现
diff --git a/notify/senders/README.md b/notify/senders/README.md
index a662c83..a446930 100644
--- a/notify/senders/README.md
+++ b/notify/senders/README.md
@@ -1,6 +1,6 @@
# Senders
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/senders)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

senders Package 包含了内置通知发送器的实现
diff --git a/planner/README.md b/planner/README.md
index 8e6c7d6..7cab4ea 100644
--- a/planner/README.md
+++ b/planner/README.md
@@ -1,6 +1,6 @@
# Planner
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/planner)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

planner 包含了策划工具相关的内容
diff --git a/planner/pce/README.md b/planner/pce/README.md
index 5ba8b74..dd10bdd 100644
--- a/planner/pce/README.md
+++ b/planner/pce/README.md
@@ -1,9 +1,9 @@
# Pce
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/pce)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/planner/pce/cs/README.md b/planner/pce/cs/README.md
index c59acbf..87e0cde 100644
--- a/planner/pce/cs/README.md
+++ b/planner/pce/cs/README.md
@@ -1,9 +1,9 @@
# Cs
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/cs)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/planner/pce/exporter/README.md b/planner/pce/exporter/README.md
index 530acf4..a526d73 100644
--- a/planner/pce/exporter/README.md
+++ b/planner/pce/exporter/README.md
@@ -1,22 +1,12 @@
# Main
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/main)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

+暂无介绍...
-## 目录导航
-列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️
-
-展开 / 折叠目录导航
-
-
-> 包级函数定义
-
-|函数名称|描述
-|:--|:--
-
diff --git a/planner/pce/exporter/cmd/README.md b/planner/pce/exporter/cmd/README.md
index 8f0e44a..e9451ca 100644
--- a/planner/pce/exporter/cmd/README.md
+++ b/planner/pce/exporter/cmd/README.md
@@ -1,9 +1,9 @@
# Cmd
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/cmd)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/planner/pce/tmpls/README.md b/planner/pce/tmpls/README.md
index 7d3b033..e0b1bb7 100644
--- a/planner/pce/tmpls/README.md
+++ b/planner/pce/tmpls/README.md
@@ -1,9 +1,9 @@
# Tmpls
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/tmpls)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/README.md b/server/README.md
index 49de6f1..a79cad6 100644
--- a/server/README.md
+++ b/server/README.md
@@ -1,6 +1,6 @@
# Server
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/server)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

server 提供了包含多种网络类型的服务器实现
diff --git a/server/client/README.md b/server/client/README.md
index 18e594e..ad20045 100644
--- a/server/client/README.md
+++ b/server/client/README.md
@@ -1,9 +1,9 @@
# Client
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/client)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/gateway/README.md b/server/gateway/README.md
index 478e6a8..831a22f 100644
--- a/server/gateway/README.md
+++ b/server/gateway/README.md
@@ -1,6 +1,6 @@
# Gateway
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/gateway)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

gateway 是用于处理服务器消息的网关模块,适用于对客户端消息进行处理、转发的情况。
diff --git a/server/internal/dispatcher/README.md b/server/internal/dispatcher/README.md
index d6a9cbb..ac41cf8 100644
--- a/server/internal/dispatcher/README.md
+++ b/server/internal/dispatcher/README.md
@@ -1,9 +1,9 @@
# Dispatcher
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/dispatcher)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/internal/logger/README.md b/server/internal/logger/README.md
index 3acdf3b..a4225b9 100644
--- a/server/internal/logger/README.md
+++ b/server/internal/logger/README.md
@@ -1,9 +1,9 @@
# Logger
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/logger)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/lockstep/README.md b/server/lockstep/README.md
index 64b5a4e..5be645f 100644
--- a/server/lockstep/README.md
+++ b/server/lockstep/README.md
@@ -1,9 +1,9 @@
# Lockstep
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/lockstep)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/router/README.md b/server/router/README.md
index 71158d3..2c28968 100644
--- a/server/router/README.md
+++ b/server/router/README.md
@@ -1,9 +1,9 @@
# Router
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/router)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/server/writeloop/README.md b/server/writeloop/README.md
index acf1716..73dfc13 100644
--- a/server/writeloop/README.md
+++ b/server/writeloop/README.md
@@ -1,9 +1,9 @@
# Writeloop
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/writeloop)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/README.md b/utils/README.md
index 4ed0ec0..b421677 100644
--- a/utils/README.md
+++ b/utils/README.md
@@ -1,6 +1,6 @@
# Utils
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/utils)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

utils 旨在提供一组用于处理通用功能的函数和数据结构。该包旨在简化通用功能的实现,并提供一致的接口和易于使用的功能。
diff --git a/utils/aoi/README.md b/utils/aoi/README.md
index be002aa..e2c7429 100644
--- a/utils/aoi/README.md
+++ b/utils/aoi/README.md
@@ -1,6 +1,6 @@
# Aoi
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/aoi)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

aoi 提供了一种有效的方法来处理 AOI(Area of Interest)问题。
diff --git a/utils/arrangement/README.md b/utils/arrangement/README.md
index 93aa589..93dcdb3 100644
--- a/utils/arrangement/README.md
+++ b/utils/arrangement/README.md
@@ -1,6 +1,6 @@
# Arrangement
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/arrangement)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

arrangement 包提供了一些有用的函数来处理数组的排列。
diff --git a/utils/buffer/README.md b/utils/buffer/README.md
index c968296..b56d19e 100644
--- a/utils/buffer/README.md
+++ b/utils/buffer/README.md
@@ -1,6 +1,6 @@
# Buffer
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/buffer)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

buffer 提供了缓冲区相关的实用程序。
diff --git a/utils/collection/README.md b/utils/collection/README.md
index 4aa6e7d..1fa259f 100644
--- a/utils/collection/README.md
+++ b/utils/collection/README.md
@@ -1,6 +1,6 @@
# Collection
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/collection)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

collection 用于对 input 和 map 操作的工具函数
diff --git a/utils/collection/listings/README.md b/utils/collection/listings/README.md
index 061d219..57dd1d8 100644
--- a/utils/collection/listings/README.md
+++ b/utils/collection/listings/README.md
@@ -1,9 +1,9 @@
# Listings
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/listings)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/collection/mappings/README.md b/utils/collection/mappings/README.md
index e5e489f..0fa7236 100644
--- a/utils/collection/mappings/README.md
+++ b/utils/collection/mappings/README.md
@@ -1,9 +1,9 @@
# Mappings
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/mappings)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/combination/README.md b/utils/combination/README.md
index 62b26d5..0efb527 100644
--- a/utils/combination/README.md
+++ b/utils/combination/README.md
@@ -1,6 +1,6 @@
# Combination
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/combination)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

combination 包提供了一些实用的组合函数。
diff --git a/utils/compress/README.md b/utils/compress/README.md
index e9dd833..d576d74 100644
--- a/utils/compress/README.md
+++ b/utils/compress/README.md
@@ -1,6 +1,6 @@
# Compress
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/compress)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

compress 提供了一些用于压缩和解压缩数据的函数。
diff --git a/utils/crypto/README.md b/utils/crypto/README.md
index 0dad578..88f6719 100644
--- a/utils/crypto/README.md
+++ b/utils/crypto/README.md
@@ -1,9 +1,9 @@
# Crypto
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/crypto)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/deck/README.md b/utils/deck/README.md
index 22ab0c8..f6f342d 100644
--- a/utils/deck/README.md
+++ b/utils/deck/README.md
@@ -1,6 +1,6 @@
# Deck
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/deck)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

deck 包中的内容用于针对一堆内容的管理,适用但不限于牌堆、麻将牌堆等情况。
diff --git a/utils/file/README.md b/utils/file/README.md
index a686be2..aa2cf96 100644
--- a/utils/file/README.md
+++ b/utils/file/README.md
@@ -1,9 +1,9 @@
# File
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/file)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/fsm/README.md b/utils/fsm/README.md
index a2bdc9d..f19ad85 100644
--- a/utils/fsm/README.md
+++ b/utils/fsm/README.md
@@ -1,9 +1,9 @@
# Fsm
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/fsm)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/generator/astgo/README.md b/utils/generator/astgo/README.md
index 2aa131f..282a53c 100644
--- a/utils/generator/astgo/README.md
+++ b/utils/generator/astgo/README.md
@@ -1,9 +1,9 @@
# Astgo
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/astgo)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/generator/astgo/type.go b/utils/generator/astgo/type.go
index 437bc57..c30a7a4 100644
--- a/utils/generator/astgo/type.go
+++ b/utils/generator/astgo/type.go
@@ -121,7 +121,11 @@ func newType(expr ast.Expr) *Type {
t := newType(e.X)
str.WriteString(fmt.Sprintf("*%s", t.Sign))
case *ast.UnaryExpr:
+ str.WriteString(fmt.Sprintf("%s%s", e.Op.String(), newType(e.X).Sign))
case *ast.BinaryExpr:
+ str.WriteString(newType(e.X).Sign)
+ str.WriteString(fmt.Sprintf(" %s ", e.Op.String()))
+ str.WriteString(newType(e.Y).Sign)
}
typ.Sign = str.String()
return typ
diff --git a/utils/generator/genreadme/README.md b/utils/generator/genreadme/README.md
index 1fb88c4..e4851ac 100644
--- a/utils/generator/genreadme/README.md
+++ b/utils/generator/genreadme/README.md
@@ -1,9 +1,9 @@
# Genreadme
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/genreadme)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/generator/genreadme/builder.go b/utils/generator/genreadme/builder.go
index 174ede2..06cf694 100644
--- a/utils/generator/genreadme/builder.go
+++ b/utils/generator/genreadme/builder.go
@@ -43,13 +43,26 @@ func (b *Builder) Generate() error {
func (b *Builder) genHeader() {
b.title(1, str.FirstUpper(b.p.Name))
b.newLine()
- b.newLine(fmt.Sprintf(`[](https://pkg.go.dev/github.com/kercylan98/minotaur/%s)`, b.p.Name))
+ b.newLine(fmt.Sprintf(`[](https://pkg.go.dev/github.com/kercylan98/minotaur)`))
b.newLine(fmt.Sprintf(``))
- b.newLine().newLine(b.p.FileComments().Clear...).newLine()
+ if len(b.p.FileComments().Clear) != 0 {
+ b.newLine().newLine(b.p.FileComments().Clear...).newLine()
+ } else {
+ b.newLine().newLine("暂无介绍...").newLine()
+ }
b.newLine()
}
func (b *Builder) genMenus() {
+ var genTitleOnce sync.Once
+ var genTitle = func() {
+ genTitleOnce.Do(func() {
+ b.title(2, "目录导航")
+ b.newLine("列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️")
+ b.detailsStart("展开 / 折叠目录导航")
+ })
+ }
+
packageFunction := b.p.PackageFunc()
var structList []*astgo.Struct
for _, f := range b.p.Files {
@@ -64,19 +77,20 @@ func (b *Builder) genMenus() {
}
}
- if len(packageFunction)+len(structList) > 0 {
- b.title(2, "目录导航")
- b.newLine("列出了该 `package` 下所有的函数及类型定义,可通过目录导航进行快捷跳转 ❤️")
- b.detailsStart("展开 / 折叠目录导航")
- }
-
if len(packageFunction) > 0 {
- b.quote("包级函数定义").newLine()
- b.tableCel("函数名称", "描述")
+ var pfGenOnce sync.Once
+ var pfGen = func() {
+ pfGenOnce.Do(func() {
+ genTitle()
+ b.quote("包级函数定义").newLine()
+ b.tableCel("函数名称", "描述")
+ })
+ }
for _, function := range packageFunction {
if function.Test || function.Internal {
continue
}
+ pfGen()
b.tableRow(
fmt.Sprintf("[%s](#%s)", function.Name, function.Name),
collection.FindFirstOrDefaultInSlice(function.Comments.Clear, "暂无描述..."),
@@ -86,12 +100,19 @@ func (b *Builder) genMenus() {
}
if len(structList) > 0 {
- b.quote("类型定义").newLine()
- b.tableCel("类型", "名称", "描述")
+ var structGenOnce sync.Once
+ var structGen = func() {
+ structGenOnce.Do(func() {
+ genTitle()
+ b.quote("类型定义").newLine()
+ b.tableCel("类型", "名称", "描述")
+ })
+ }
for _, structInfo := range structList {
if structInfo.Test || structInfo.Internal {
continue
}
+ structGen()
b.tableRow(
super.If(structInfo.Interface, "`INTERFACE`", "`STRUCT`"),
fmt.Sprintf("[%s](#%s)", structInfo.Name, strings.ToLower(structInfo.Name)),
diff --git a/utils/generic/README.md b/utils/generic/README.md
index 55ef913..c57f517 100644
--- a/utils/generic/README.md
+++ b/utils/generic/README.md
@@ -1,6 +1,6 @@
# Generic
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/generic)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

generic 目的在于提供一组基于泛型的用于处理通用功能的函数和数据结构。该包旨在简化通用功能的实现,并提供一致的接口和易于使用的功能。
@@ -111,53 +111,62 @@ type IDR2W[ID comparable] interface {
可排序类型
```go
type Ordered interface {
+ Integer | Float | ~string
}
```
### Number `INTERFACE`
数字类型
```go
type Number interface {
+ Integer | Float
}
```
### SignedNumber `INTERFACE`
有符号数字类型
```go
type SignedNumber interface {
+ Signed | Float
}
```
### Integer `INTERFACE`
整数类型
```go
type Integer interface {
+ Signed | Unsigned
}
```
### Signed `INTERFACE`
有符号整数类型
```go
type Signed interface {
+ ~int | ~int8 | ~int16 | ~int32 | ~int64
}
```
### Unsigned `INTERFACE`
无符号整数类型
```go
type Unsigned interface {
+ UnsignedNumber | ~uintptr
}
```
### UnsignedNumber `INTERFACE`
无符号数字类型
```go
type UnsignedNumber interface {
+ ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
}
```
### Float `INTERFACE`
浮点类型
```go
type Float interface {
+ ~float32 | ~float64
}
```
### Basic `INTERFACE`
基本类型
```go
type Basic interface {
+ Signed | Unsigned | Float | ~string | ~bool | ~byte
}
```
diff --git a/utils/geometry/README.md b/utils/geometry/README.md
index cc0cdc7..177eb01 100644
--- a/utils/geometry/README.md
+++ b/utils/geometry/README.md
@@ -1,6 +1,6 @@
# Geometry
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/geometry)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

geometry 旨在提供一组用于处理几何形状和计算几何属性的函数和数据结构。该包旨在简化几何计算的过程,并提供一致的接口和易于使用的功能。
diff --git a/utils/geometry/astar/README.md b/utils/geometry/astar/README.md
index 8debe7f..100b4ad 100644
--- a/utils/geometry/astar/README.md
+++ b/utils/geometry/astar/README.md
@@ -1,6 +1,6 @@
# Astar
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/astar)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

astar 提供用于实现 A* 算法的函数和数据结构。A* 算法是一种常用的路径搜索算法,用于在图形或网络中找到最短路径。该包旨在简化 A* 算法的实现过程,并提供一致的接口和易于使用的功能。
diff --git a/utils/geometry/dp/README.md b/utils/geometry/dp/README.md
index c0477d6..5be6dee 100644
--- a/utils/geometry/dp/README.md
+++ b/utils/geometry/dp/README.md
@@ -1,6 +1,6 @@
# Dp
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/dp)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

dp (DistributionPattern) 提供用于在二维数组中根据不同的特征标记为数组成员建立分布链接的函数和数据结构。该包的目标是实现快速查找与给定位置成员具有相同特征且位置紧邻的其他成员。
diff --git a/utils/geometry/matrix/README.md b/utils/geometry/matrix/README.md
index 1fe3cc8..0981cdf 100644
--- a/utils/geometry/matrix/README.md
+++ b/utils/geometry/matrix/README.md
@@ -1,6 +1,6 @@
# Matrix
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/matrix)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

matrix 提供了一个简单的二维数组的实现
diff --git a/utils/geometry/navmesh/README.md b/utils/geometry/navmesh/README.md
index b998a84..0374f76 100644
--- a/utils/geometry/navmesh/README.md
+++ b/utils/geometry/navmesh/README.md
@@ -1,6 +1,6 @@
# Navmesh
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/navmesh)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

navmesh 提供了用于导航网格处理的函数和数据结构。导航网格是一种常用的数据结构,用于在游戏开发和虚拟环境中进行路径规划和导航。该包旨在简化导航网格的创建、查询和操作过程,并提供高效的导航功能。
diff --git a/utils/hub/README.md b/utils/hub/README.md
index 7264472..3bb9577 100644
--- a/utils/hub/README.md
+++ b/utils/hub/README.md
@@ -1,9 +1,9 @@
# Hub
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/hub)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/huge/README.md b/utils/huge/README.md
index 8086a18..54c94c7 100644
--- a/utils/huge/README.md
+++ b/utils/huge/README.md
@@ -1,9 +1,9 @@
# Huge
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/huge)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/leaderboard/README.md b/utils/leaderboard/README.md
index 84eca10..6be6bd6 100644
--- a/utils/leaderboard/README.md
+++ b/utils/leaderboard/README.md
@@ -1,9 +1,9 @@
# Leaderboard
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/leaderboard)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/log/README.md b/utils/log/README.md
index 90755be..7980ed3 100644
--- a/utils/log/README.md
+++ b/utils/log/README.md
@@ -1,9 +1,9 @@
# Log
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/log)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/log/survey/README.md b/utils/log/survey/README.md
index 7e63221..7c2e721 100644
--- a/utils/log/survey/README.md
+++ b/utils/log/survey/README.md
@@ -1,9 +1,9 @@
# Survey
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/survey)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/maths/README.md b/utils/maths/README.md
index 36bc432..004d1fe 100644
--- a/utils/maths/README.md
+++ b/utils/maths/README.md
@@ -1,9 +1,9 @@
# Maths
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/maths)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/memory/README.md b/utils/memory/README.md
index 3035a1c..4d1c180 100644
--- a/utils/memory/README.md
+++ b/utils/memory/README.md
@@ -1,9 +1,9 @@
# Memory
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/memory)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/moving/README.md b/utils/moving/README.md
index 4be2d5f..e243217 100644
--- a/utils/moving/README.md
+++ b/utils/moving/README.md
@@ -1,9 +1,9 @@
# Moving
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/moving)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/network/README.md b/utils/network/README.md
index cd6d12c..40e9b93 100644
--- a/utils/network/README.md
+++ b/utils/network/README.md
@@ -1,9 +1,9 @@
# Network
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/network)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/offset/README.md b/utils/offset/README.md
index added2d..3c35959 100644
--- a/utils/offset/README.md
+++ b/utils/offset/README.md
@@ -1,9 +1,9 @@
# Offset
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/offset)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/random/README.md b/utils/random/README.md
index ede0c12..e607042 100644
--- a/utils/random/README.md
+++ b/utils/random/README.md
@@ -1,9 +1,9 @@
# Random
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/random)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/reflects/README.md b/utils/reflects/README.md
index 425d111..bf685e0 100644
--- a/utils/reflects/README.md
+++ b/utils/reflects/README.md
@@ -1,9 +1,9 @@
# Reflects
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/reflects)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/runtimes/README.md b/utils/runtimes/README.md
index de0fe23..63c3494 100644
--- a/utils/runtimes/README.md
+++ b/utils/runtimes/README.md
@@ -1,9 +1,9 @@
# Runtimes
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/runtimes)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/sole/README.md b/utils/sole/README.md
index 09594fc..b02da32 100644
--- a/utils/sole/README.md
+++ b/utils/sole/README.md
@@ -1,9 +1,9 @@
# Sole
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/sole)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/sorts/README.md b/utils/sorts/README.md
index ff6abce..6375347 100644
--- a/utils/sorts/README.md
+++ b/utils/sorts/README.md
@@ -1,9 +1,9 @@
# Sorts
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/sorts)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/str/README.md b/utils/str/README.md
index d03e7fe..04e35d0 100644
--- a/utils/str/README.md
+++ b/utils/str/README.md
@@ -1,9 +1,9 @@
# Str
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/str)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/super/README.md b/utils/super/README.md
index e999ee3..b3561fb 100644
--- a/utils/super/README.md
+++ b/utils/super/README.md
@@ -1,9 +1,9 @@
# Super
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/super)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/timer/README.md b/utils/timer/README.md
index b59ae25..63d2f22 100644
--- a/utils/timer/README.md
+++ b/utils/timer/README.md
@@ -1,9 +1,9 @@
# Timer
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/timer)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/times/README.md b/utils/times/README.md
index 039774f..ff82c67 100644
--- a/utils/times/README.md
+++ b/utils/times/README.md
@@ -1,9 +1,9 @@
# Times
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/times)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航
diff --git a/utils/xlsxtool/README.md b/utils/xlsxtool/README.md
index e5a07fa..2fefedb 100644
--- a/utils/xlsxtool/README.md
+++ b/utils/xlsxtool/README.md
@@ -1,9 +1,9 @@
# Xlsxtool
-[](https://pkg.go.dev/github.com/kercylan98/minotaur/xlsxtool)
+[](https://pkg.go.dev/github.com/kercylan98/minotaur)

-
+暂无介绍...
## 目录导航