Commit ae9228d

Karn Wong <[email protected]>
2024-07-22 08:21:00
get ip: fix spacing
1 parent 1c9946f
Changed files (1)
cmd
cmd/get/get_ip.go
@@ -73,14 +73,14 @@ var getIPCmd = &cobra.Command{
 		if err != nil {
 			fmt.Println(err)
 		} else {
-			fmt.Printf("Local IP   : %s\n", green(localIP))
+			fmt.Printf("Local IP:   %s\n", green(localIP))
 		}
 
 		publicIP, err := getPublicIP()
 		if err != nil {
 			fmt.Println(err)
 		} else {
-			fmt.Printf("Public IP  : %s (%s)\n", green(publicIP.Ip), publicIP.Country)
+			fmt.Printf("Public IP:  %s (%s)\n", green(publicIP.Ip), publicIP.Country)
 		}
 	},
 }