MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsPort

Function IsPort

util/validation/validator.go:817–822  ·  view source on GitHub ↗

IsPort checks if a string represents a valid port

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

IsDialStringFunction · 0.85
TestIsPortFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsPortFunction · 0.68