Go Mod Generator

Generate Go go.mod files from module settings. Configure module path, Go version, direct dependencies, and indirect dependencies with proper formatting and version constraints.

How to Use Go Mod Generator

Enter your Go module path (e.g., github.com/user/project), select the Go version, and add direct and indirect dependencies one per line. Click Generate to create a properly formatted go.mod file.

Step-by-Step Instructions

  1. Enter module path
  2. Select Go version
  3. Add direct and indirect dependencies
  4. Click Generate go.mod and copy the result

Related Tools

More Free Tools