An open API service indexing awesome lists of open source software.

https://github.com/go-basic/ipv4

local ipv4
https://github.com/go-basic/ipv4

go ip ipv4 localip

Last synced: 2 months ago
JSON representation

local ipv4

Awesome Lists containing this project

README

          

## Installation
```
go get github.com/go-basic/ipv4
```

## Example
```
package main

import (
"fmt"
"github.com/go-basic/ipv4"
)

func main() {
ip := ipv4.LocalIP()
fmt.Println(ip)
ips, _ := ipv4.LocalIPv4s()
fmt.Println(ips)
}
```