#Code splitting
2 messages · Page 1 of 1 (latest)
where is handleGetTransactions?
make that method part of a struct
say call the struct TransectionHandler
add a field called txService with type TransactionService
initiate the struct with the service
now add handleGetTransactions function as part of the TransectionHandler struct
now handleGetTransactions can access the struct to access txService