From 2eb6ea18b942ae2ac3ed54f09d4dab3032788d46 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 28 May 2026 10:26:53 +0300 Subject: fix(random): remove deprecated rand seeding (hq) --- internal/showcase/code_extractor.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/showcase/code_extractor.go') diff --git a/internal/showcase/code_extractor.go b/internal/showcase/code_extractor.go index fbf17f6..3b0e8bc 100644 --- a/internal/showcase/code_extractor.go +++ b/internal/showcase/code_extractor.go @@ -7,13 +7,8 @@ import ( "os" "path/filepath" "strings" - "time" ) -func init() { - rand.Seed(time.Now().UnixNano()) -} - // extractCodeSnippet extracts a random code snippet from the repository func extractCodeSnippet(repoPath string, languages []LanguageStats) (string, string, error) { if len(languages) == 0 { -- cgit v1.2.3