From 14fb0b21f46386e705ad6369eb557043936e8c19 Mon Sep 17 00:00:00 2001 From: Omid Destan Date: Sat, 30 Sep 2023 09:20:08 +0330 Subject: [PATCH] Fix Layers --- README.md | 2 +- {IPINfo => cmd/IPINfo}/IpInfo.go | 0 ipshow.go => cmd/ipshow/ipshow.go | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {IPINfo => cmd/IPINfo}/IpInfo.go (100%) rename ipshow.go => cmd/ipshow/ipshow.go (98%) diff --git a/README.md b/README.md index 1e3d319..8d5b94e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ This tool checks whether the given domain is UP or not, and if it is UP, check t ## Installation ``` -go install github.com/destan0098/ipshow@latest +go install github.com/destan0098/ipshow/cmd/ipshow@latest ``` ## Usage diff --git a/IPINfo/IpInfo.go b/cmd/IPINfo/IpInfo.go similarity index 100% rename from IPINfo/IpInfo.go rename to cmd/IPINfo/IpInfo.go diff --git a/ipshow.go b/cmd/ipshow/ipshow.go similarity index 98% rename from ipshow.go rename to cmd/ipshow/ipshow.go index 5051a6c..e2b25c9 100644 --- a/ipshow.go +++ b/cmd/ipshow/ipshow.go @@ -4,7 +4,7 @@ import ( "bufio" "flag" "fmt" - "github.com/destan0098/ipshow/IPINfo" + "github.com/destan0098/ipshow/cmd/IPINfo" "net" "os" )