---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# go generate

> Generate Go files by running commands within source files.
> More information: <https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source>.

- Generate Go files by running commands within source files:

`go generate`
