package
Version:
v1.1.23
Opens a new window with list of versions in this module.
Published: Apr 25, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetIP 获取IP地址.
package main
import (
"fmt"
"gitee.com/xuender/oils/nets"
)
func main() {
ip := nets.GetIP()
fmt.Println(ip)
}
Output:
Source Files
¶
Click to show internal directories.
Click to hide internal directories.