gofiber / gofiber/cli

🐛 Fiber new doesn't create the correct go.mod

Open
#122 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
94
Forks
21
Avg merge
4m
Merged PRs (30d)
2

Description

Issue description
When creating a new project using fiber new <args>, the go.mod doesn't contain the require modules.

Expected Result
I expect to have a working and runnable fiber project

Possible fix
Run go mod tidy after the go mod init in this line

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in cmd/new.go at the go mod init call linked in the issue, and inspect how fiber new creates the project module. Verify the generated go.mod includes the required modules and that the new project is runnable after generation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.