How to run go file from 2 different terminals

I Have a simple implementation of transaction between wallets and i want to run 1 transaction from first terminal
(send money from A to B) and from second terminal check the amount of money in B’s wallet, unfortunately when i run first terminal and second one, second terminal just waits until first one finishes its execution.


Care to share your solution? Was it firing off the terminals as their own go routines or something else?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.