---
title: "Discussion on \"rand.Seed() deprecated: way forward.\" | Hashnode"
description: "Discussion on \"rand.Seed() deprecated: way forward.\". The rand.Seed() function has been deprecated since Go version 1.20:\n\nDeprecated: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSou..."
url: "https://hashnode.com/posts/randseed-deprecated-way-forward/669d27bd03e47fd9c17cf5a5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [rand.Seed() deprecated: way forward.](https://blog.dushyanth.in/randseed-deprecated-way-forward?utm_source=hashnode&utm_medium=feed)

The rand.Seed() function has been deprecated since Go version 1.20: Deprecated: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSou...

Jul 21, 2024 · 2 min read · blog.dushyanth.in  
Updated Sep 23, 2024  
Read the article

-   [#go](https://hashnode.com/tag/go)

## Written by

[Dushyanth](https://hashnode.com/@Dushu)

@Dushu

  
[View profile](https://hashnode.com/@Dushu)

Full Stack Developer | Tinkering with GO

A Full Stack Developer with a knack for creating engaging web experiences. Currently tinkering with GO.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
