Files
2026-07-13 12:31:02 +08:00

19 lines
363 B
Go

package handlers
import (
"service-operation/config"
"service-operation/pocketbase"
)
type OperationHandler struct {
config *config.Config
pbClient *pocketbase.PocketBaseClient
}
func NewOperationHandler(cfg *config.Config, pbClient *pocketbase.PocketBaseClient) *OperationHandler {
return &OperationHandler{
config: cfg,
pbClient: pbClient,
}
}