From 512b04f3dd56eb3cec586ff0e8167fb574aea792 Mon Sep 17 00:00:00 2001 From: itworksnow Date: Tue, 28 Dec 2021 14:13:20 +0900 Subject: [PATCH] update --- cmd/spoof-dpi/main.go | 4 +--- hello/hello.go | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd/spoof-dpi/main.go b/cmd/spoof-dpi/main.go index 7b62ea5..da058c1 100644 --- a/cmd/spoof-dpi/main.go +++ b/cmd/spoof-dpi/main.go @@ -1,11 +1,9 @@ package main import ( - "fmt" "github.com/itworksnow/SpoofDPI/hello" ) func main() { - fmt.Println("Hello, world!") - hello.hello() + hello.Hello() } diff --git a/hello/hello.go b/hello/hello.go index ebb3e9f..5d79799 100644 --- a/hello/hello.go +++ b/hello/hello.go @@ -4,7 +4,6 @@ import ( "fmt" ) - -func hello() { - fmt.Print("hello") +func Hello() { + fmt.Print("Hello, world!") }