action_handler.go 267 B

1234567891011121314
  1. package handler
  2. import (
  3. "gogs.veloe.link/toomanysugar/GoEthemineTelegramBot/internal/database"
  4. )
  5. type ActionHandler struct {
  6. dbconn *database.Connection
  7. }
  8. func New(dbconn *database.Connection) *ActionHandler {
  9. ah := &ActionHandler{dbconn: dbconn}
  10. return ah
  11. }