# Go CLI

**Command**

1. `go mod init <PATH>`= Create module for management Go project. It will create go.mod file same as package.json in Node.
2. `go build <FILE_NAME>` = Build source code to be binary.
3. `go get <PACKAGE_NAME>`= Download package and store in module cache&#x20;
4. `go mod tidy` = It adds any missing module requirements necessary to build the current module’s packages and dependencies.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev7days.gitbook.io/dev7days/go/go-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
