From b44b84d66d82685b0502fa5ba5d0d7cbc6a2db41 Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 22 May 2024 08:53:09 -0700 Subject: [PATCH] latest, test --- cmd/fastmirror/main.go | 4 +++- fastmirror.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/fastmirror/main.go b/cmd/fastmirror/main.go index ca8afcc..08c5dc5 100644 --- a/cmd/fastmirror/main.go +++ b/cmd/fastmirror/main.go @@ -1,5 +1,7 @@ package main +import "git.eeqj.de/sneak/fastmirror" + func main() { - fastmirror.cliEntry() + fastmirror.CLIEntry() } diff --git a/fastmirror.go b/fastmirror.go index 238fa99..ed3058e 100644 --- a/fastmirror.go +++ b/fastmirror.go @@ -11,7 +11,7 @@ import ( "strings" ) -func cliEntry() { +func CLIEntry() { if runtime.GOOS != "linux" { log.Fatal("This program is only for Linux") }