From 1aadc3419a87ce8e2cabcd74d012cd7f11842851 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Thu, 20 Mar 2025 19:23:14 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Update=20README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 96b66ce..d8fe9be 100644 --- a/README.md +++ b/README.md @@ -45,27 +45,10 @@ Download the latest binaries from the [releases](https://github.com/aykhans/dodo ### Building from Source -To build Dodo from source, ensure you have [Go 1.24+](https://golang.org/dl/) installed. Then follow these steps: - -1. **Clone the repository:** - - ```sh - git clone https://github.com/aykhans/dodo.git - ``` - -2. **Navigate to the project directory:** - - ```sh - cd dodo - ``` - -3. **Build the project:** - - ```sh - go build -ldflags "-s -w" -o dodo - ``` - -This will generate an executable named `dodo` in the project directory. +To build Dodo from source, ensure you have [Go 1.24+](https://golang.org/dl/) installed. +```sh +go install -ldflags "-s -w" github.com/aykhans/dodo@latest +``` ## Usage @@ -87,10 +70,10 @@ docker run --rm -i aykhans/dodo -u https://example.com -m GET -d 10 -r 1000 -t 2 ### 2. Config File Usage -#### 2.1 JSON Example - Send 1000 GET requests to https://example.com with 10 parallel dodos (threads) and a timeout of 800 milliseconds: +#### 2.1 JSON Example + ```jsonc { "method": "GET",