Skip to content

Quickstart installation #231

@GhoulKingR

Description

@GhoulKingR

I recently updated to go1.20.5, and in installing the framework with the command in this guide, I got this error:

go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.

I don't know if this only applies to this version of GO, but it'll be nice to add this new information for better quality.

Edit: I returned to read this issue and noticed it may be confusing. For context, the guide is here: https://gin-gonic.com/docs/quickstart/
I ran into this issue on the first step. And I have a pull request that attempts to clarify prevent more users like me from running into the issue: #232

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions