package
0.0.0-20250117083719-1039c2e470a6
Repository: https://github.com/kscaesar/go-layout.git
Documentation: pkg.go.dev

# Packages

Package dataflow is a generated GoMock package.
wfiber is a wrapped fiber.
wgin is a wrapped gin.
wlog is a wrapped logger.

# Functions

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
LoadLocalConfigFromMultiSource attempts to load a local configuration file from multiple sources.
No description provided by the author
MockTimeNow Parameters: RFC3339 (string): The time value in RFC3339 format that will be used for simulation.
No description provided by the author
No description provided by the author
NewGormEasyTransaction 把 tx *gorm.DB 放在 context.Context 進行參數傳遞, 如此一來, 在應用服務層就可以隱藏 tx 物件, 只依賴抽象的 repository, 而且在資料層也可以透過 CtxGetGormTX 取得 *gorm.DB.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewShutdown creates a new Shutdown instance that manages the graceful shutdown process.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpDocker 由於 TestMain 在 unit test 也會呼叫 UpDocker 為了避免啟動多餘的容器, 設計一個無作用的函數.

# Variables

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

# Structs

BiMap represents a one-to-one bidirectional map.
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
ReadProxy 用於管理多個資料節點之間的讀取和寫入操作, 允許從 Replica 中快速獲取資料, 如果無法取得,則嘗試從 Primary 中讀取.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
Transaction It abstracts the underlying transaction management, allowing the application layer to focus on business logic.

# Type aliases

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
No description provided by the author