Skip to content

x/website: outdated module introduction blog post #55036

@fgergo

Description

@fgergo

https://go.dev/blog/using-go-modules is outdated.

In the blog entry it's supposed to work like this:
$ go test
PASS
ok _/home/gopher/hello 0.020s

but with 1.18 and 1.19 it works like this:
$ go test
go: go.mod file not found in current directory or any parent directory; see 'go help modules'

I believe an introductory blog should be working as described.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.moduleswebsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions