> For the complete documentation index, see [llms.txt](https://dev7days.gitbook.io/dev7days/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev7days.gitbook.io/dev7days/go/go-cli.md).

# 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.
