Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/003random/getJS
/ isURL
Function
isURL
main.go:96–98 ·
view source on GitHub ↗
(str string)
Source
from the content-addressed store, hash-verified
94
}
95
96
func
isURL(str string) bool {
97
return
strings.HasPrefix(str,
"http://"
) || strings.HasPrefix(str,
"https://"
)
98
}
99
100
func
outputs(names []string) []io.Writer {
101
outputs := append([]io.Writer{}, os.Stdout)
Callers
1
setup
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected