From 1a19045220de980bc222638f6e3400246550f7c4 Mon Sep 17 00:00:00 2001 From: Peachpit Date: Thu, 12 Dec 2024 13:06:37 -0800 Subject: [PATCH] Add test function in pf --- source/hub/hub.go | 1 + source/vendor/pf/go.mod | 3 +++ source/vendor/pf/pf.go | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 source/vendor/pf/go.mod create mode 100644 source/vendor/pf/pf.go diff --git a/source/hub/hub.go b/source/hub/hub.go index 66901c95..02cb4bfa 100644 --- a/source/hub/hub.go +++ b/source/hub/hub.go @@ -1503,6 +1503,7 @@ func Cyan(s string) string { } func Logo() string { + // pf.Greet() var padding string if len(VERSION)%2 == 1 { padding = "," diff --git a/source/vendor/pf/go.mod b/source/vendor/pf/go.mod new file mode 100644 index 00000000..2f4242bc --- /dev/null +++ b/source/vendor/pf/go.mod @@ -0,0 +1,3 @@ +module github.com/tim-hardcastle/Pipefish/tree/main/source/vendor/pf + +go 1.23 diff --git a/source/vendor/pf/pf.go b/source/vendor/pf/pf.go new file mode 100644 index 00000000..079c46f5 --- /dev/null +++ b/source/vendor/pf/pf.go @@ -0,0 +1,5 @@ +package pf + +func Greet() { + println("Hello world!") +} \ No newline at end of file