Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.33 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.33 KB

GetPort - Get a free and open tcp port that is ready to use

PkgGoDev Build Status Go Report Card Coverage Status GitHub issues Release

Installation

To install the package, run:

go get -u github.com/go-zoox/get-port

Quick Start

package main

import (
	"fmt"
	"net/http"

	"github.com/go-zoox/get-port"
)

func main() {
	fmt.Println("Get a free port:", getport.MustGetPort())
}

Inspiration

License

GoZoox is released under the MIT License.