summaryrefslogtreecommitdiff
path: root/internal/showcase/code_extractor.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/showcase/code_extractor.go')
-rw-r--r--internal/showcase/code_extractor.go5
1 files changed, 0 insertions, 5 deletions
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 {