Skip to content

Commit 2c05d1a

Browse files
committed
fix one vertical line fromat output.
1 parent 1b3cafd commit 2c05d1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

view/ui.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ var out io.Writer = os.Stdout
1515
// PrintInternal print all internal ip data
1616
func PrintInternal(d *data.IPData) {
1717
color.New(color.FgMagenta).Fprintln(out, "Local interface name:", d.AdapterName)
18-
fmt.Fprintf(out, " Internal IP (%s): %s \n", d.InternalData.IPAddressType, d.IntIP)
18+
fmt.Fprintf(out, " Internal IP (%s): %s \n", d.InternalData.IPAddressType, d.IntIP)
1919
}
2020

2121
// PrintExternal print all external ip data
2222
func PrintExternal(d *data.IPData) {
2323

2424
if d.ExtIP != "" {
25-
color.New(color.FgGreen).Fprintf(out, " External IP (%s): %s \n", d.ExternalData.IPAddressType, d.ExtIP)
25+
color.New(color.FgGreen).Fprintf(out, " External IP (%s): %s \n", d.ExternalData.IPAddressType, d.ExtIP)
2626
}
2727

2828
if d.Country != "" {

0 commit comments

Comments
 (0)