Skip to content

x/website: #61790

Closed as not planned
Closed as not planned
@froucoux

Description

@froucoux

What is the URL of the page with the issue?

https://go.dev/doc/tutorial/random-greeting

What did you do?

Following the tutorial

What did you expect to see?

Given that instruction in the tutorial :
"Add an init function to seed the rand package with the current time. Go executes init functions automatically at program startup, after global variables have been initialized. For more about init functions, see Effective Go."

I expect an init function in the source code.

What did you see instead?

The init function is not present in the source code (and the rand.seed function is deprecated).)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions