package
0.0.53
Repository: https://github.com/adimax2953/go-tool.git
Documentation: pkg.go.dev

# Functions

CleanEmptyLogFile -清理空日誌文件.
CreateDataMap 建一個讀檔格式(橫式的csv檔,機率表...).
CreateProb 建立一個權重結構.
DirSize - 文件夾大小.
EnsureDir - 確保目錄已創建.
FileSize - 文件大小.
No description provided by the author
IsInProbability 是否有中(n分之1).
MakeOrDeleteDir - 圖片文件.
OpenCS 開csv檔.
RandIntTn 隨機產生0到n-1之亂數(接受型別[int | int32 | int64]).
RandSliceIndex 對slice亂數取index.
SerializeStructData 檔案序列化為結構(結構欄位要與檔案欄位名稱一致).
ShuffleSlice 隨機打亂slice裡的順序.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author