mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-13 00:42:46 +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
|
$ fetch -qo- http://ifconfig.co
|
||||||
127.0.0.1
|
127.0.0.1
|
||||||
|
|
||||||
|
$ bat -print=b ifconfig.co/ip
|
||||||
|
127.0.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
Country and city lookup:
|
Country and city lookup:
|
||||||
|
@ -54,6 +54,9 @@ $ wget -qO- ifconfig.co
|
|||||||
{{ .IP }}
|
{{ .IP }}
|
||||||
|
|
||||||
$ fetch -qo- https://ifconfig.co
|
$ fetch -qo- https://ifconfig.co
|
||||||
|
{{ .IP }}
|
||||||
|
|
||||||
|
$ bat -print=b ifconfig.co/ip
|
||||||
{{ .IP }}</pre>
|
{{ .IP }}</pre>
|
||||||
{{ if .IsLookupCountryEnabled }}
|
{{ if .IsLookupCountryEnabled }}
|
||||||
<h2>Country lookup:</h2>
|
<h2>Country lookup:</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user