This commit is contained in:
Your Name
2018-03-07 15:31:02 +03:00
parent 8f91676943
commit 26296c2cc7
5 changed files with 296 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package utils
import (
"fmt"
"net/http"
)
func getmyip() {
client := &http.Client{}
fmt.Print(HttpGet("https://api.ipify.org?format=json", client))
fmt.Printf("\n")
}