Add publig IP getter #9

Merged
faercol merged 2 commits from 3-get-public-ip into main 2023-01-27 17:07:48 +00:00
2 changed files with 0 additions and 13 deletions
Showing only changes of commit a4ca608937 - Show all commits

View file

@ -9,10 +9,6 @@ import (
"git.faercol.me/faercol/public-ip-tracker/tracker/config"
)
func testMethod(a int) int {
return a + 2
}
type cliArgs struct {
configPath string
}

View file

@ -1,9 +0,0 @@
package main
import "testing"
func TestTestMethod(t *testing.T) {
if testMethod(12) != 14 {
t.Fatalf("Unexpected result %d", testMethod((12)))
}
}