Add publig IP getter #9
2 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTestMethod(t *testing.T) {
|
||||
if testMethod(12) != 14 {
|
||||
t.Fatalf("Unexpected result %d", testMethod((12)))
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue