mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-10 07:27:22 +01:00
Merge pull request #41 from udhos/master
Example for bat - https://github.com/astaxie/bat
This commit is contained in:
commit
7145e0464f
@ -21,6 +21,9 @@ $ wget -qO- ifconfig.co
|
||||
|
||||
$ fetch -qo- http://ifconfig.co
|
||||
127.0.0.1
|
||||
|
||||
$ bat -print=b ifconfig.co/ip
|
||||
127.0.0.1
|
||||
```
|
||||
|
||||
Country and city lookup:
|
||||
|
@ -54,6 +54,9 @@ $ wget -qO- ifconfig.co
|
||||
{{ .IP }}
|
||||
|
||||
$ fetch -qo- https://ifconfig.co
|
||||
{{ .IP }}
|
||||
|
||||
$ bat -print=b ifconfig.co/ip
|
||||
{{ .IP }}</pre>
|
||||
{{ if .IsLookupCountryEnabled }}
|
||||
<h2>Country lookup:</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user