This is a simple Go project.
Follow these instructions to set up and run the project.
- Go (version 1.16 or later)
- Apache ActiveMQ Artemis
-
Clone the repository:
git clone https://github.com/yourusername/go-challenge.git cd go-challenge
-
Initialize the Go module:
go mod init go-challenge
-
Install dependencies:
go mod tidy
-
Download the latest version of Apache ActiveMQ Artemis from the official website.
-
Extract the downloaded archive:
tar -xvzf apache-artemis-<version>-bin.tar.gz
-
Navigate to the extracted directory:
cd apache-artemis-<version>
-
Create a new broker instance:
./bin/artemis create mybroker
-
Start the broker:
./mybroker/bin/artemis run
To run the project, execute the following command:
go run index.go
This project is licensed under the MIT License.